TheNitesWhoSay / RareCpp

Creating a simpler, more intuitive means of C++ reflection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if constexpr and C++ 17

TheNitesWhoSay opened this issue · comments

The "if constexpr" statement would be incredibly useful, though it would force the whole library up to C++17, consider going for both,

In VS it's a compiler option to use C++17 and it's mostly supported (sans constexpr strings which this library already has its own implementation for)... clang and gcc fully support C++17. In VS you'll be issued a warning on default settings but if constexpr will still work, I think moving up makes enough sense.