Hacker News new | ask | show | jobs
by koyote 2650 days ago
This is a good use of the more modern C++ features such as string_view, constexpr and template metafunctions such as decay and enable_if.

I do wonder how much this would impact compile-times if used moderately in a large code-base.

1 comments

In our project, NAMEOF_TYPE and NAMEOF almost do not add time relative to the entire project. But NAMEOF_ENUM can add a couple of seconds to large enums.