add nameof into boost::core::demangle.hpp
Open
- 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.