:3
:3
* with exception of std::hive because it is not in draft yet
* with exception of std::hive because it is not in draft yet
constexpr bool what = std::is_constant_evaluated();
nor use
if constexpr (std::constant_evaluated())
but do you know about
const bool wtf = std::is_constant_evaluated();
I'm really sorry 😶🌫️
constexpr bool what = std::is_constant_evaluated();
nor use
if constexpr (std::constant_evaluated())
but do you know about
const bool wtf = std::is_constant_evaluated();
I'm really sorry 😶🌫️
compiler-explorer.com/z/PE58vqhYo
big kudos to Jakub Jelínek
compiler-explorer.com/z/PE58vqhYo
big kudos to Jakub Jelínek
Like constexpr, auto almost everywhere + brace initialization, user-defined literals, and concepts all help clean things up a bunch
Like constexpr, auto almost everywhere + brace initialization, user-defined literals, and concepts all help clean things up a bunch
`constexpr volatile`
save me `constexpr volatile`
`constexpr volatile`
save me `constexpr volatile`
constexpr
Try /std:c++23 + /Zc:cmath and dive into the details!
📖 msft.it/63322aji2j
constexpr
Try /std:c++23 + /Zc:cmath and dive into the details!
📖 msft.it/63322aji2j
* with exception of std::hive (which also got just in)
* with exception of std::hive (which also got just in)
Any feedback appreciated!
Any feedback appreciated!