JSON Voorhees
Killer JSON for C++
demangle.hpp File Reference

Copyright (c) 2015 by Travis Gockel. More...

#include <jsonv/config.hpp>
#include <jsonv/string_view.hpp>
#include <functional>
#include <string>

Go to the source code of this file.

Typedefs

using jsonv::demangle_function = std::function< std::string(string_view source)>
 Type of function used in setting a custom demangler. More...
 

Functions

JSONV_PUBLIC std::string jsonv::demangle (string_view source)
 Convert the input source from a mangled type into a human-friendly version. More...
 
JSONV_PUBLIC void jsonv::set_demangle_function (demangle_function func)
 Sets the global demangle function. More...
 
JSONV_PUBLIC void jsonv::reset_demangle_function ()
 Resets the demangle function to the default. More...
 
JSONV_PUBLIC std::string jsonv::current_exception_type_name ()
 Get the demangled type name of the current exception. More...
 

Detailed Description

Copyright (c) 2015 by Travis Gockel.

All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file demangle.hpp.