boostorg / boostorg/core

add nameof into boost::core::demangle.hpp

Open
#166 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
156
Forks
116
PR merge metrics
No merged PRs in 30d

Description

```
#include

namespace boost
{
namespace core
{
template
inline std::string nameof()
{
return demangle(typeid(Type).name());
}

} // core
} // boost
```
This saves a lot of manual fiddling around.

thx
Gero

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.