3 ms·
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
by koyote 8y 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.
- neargye 8y agoIn 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.