Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
ea2eafef
Commit
ea2eafef
authored
Sep 04, 2012
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provide detail::demangle overload for std::type_info
parent
3c3f6b78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
cppa/detail/demangle.hpp
cppa/detail/demangle.hpp
+2
-0
src/demangle.cpp
src/demangle.cpp
+4
-0
No files found.
cppa/detail/demangle.hpp
View file @
ea2eafef
...
@@ -32,10 +32,12 @@
...
@@ -32,10 +32,12 @@
#define CPPA_DEMANGLE_HPP
#define CPPA_DEMANGLE_HPP
#include <string>
#include <string>
#include <typeinfo>
namespace
cppa
{
namespace
detail
{
namespace
cppa
{
namespace
detail
{
std
::
string
demangle
(
const
char
*
typeid_name
);
std
::
string
demangle
(
const
char
*
typeid_name
);
std
::
string
demangle
(
const
std
::
type_info
&
tinf
);
}
}
// namespace cppa::detail
}
}
// namespace cppa::detail
...
...
src/demangle.cpp
View file @
ea2eafef
...
@@ -90,4 +90,8 @@ std::string demangle(const char* decorated) {
...
@@ -90,4 +90,8 @@ std::string demangle(const char* decorated) {
return
result
;
return
result
;
}
}
std
::
string
demangle
(
const
std
::
type_info
&
tinf
)
{
return
demangle
(
tinf
.
name
());
}
}
}
// namespace cppa::detail
}
}
// namespace cppa::detail
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment