DEV Community

Discussion on: Magic numbers and how to deal with them in C++

Collapse
 
10xlearner profile image
10x learner

I remembered those 2 conference videos about constexpr. You may found it useful to see the benefits of constexpr ;)

constexpr ALL the Things!”
Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17