benedictkao / UTD

Unstandard Library for basic data structures
2 stars 0 forks source link

What is the best way to do compile time value replacement ? ( enum, constexpr ) #13

Open chris-nee opened 1 year ago

chris-nee commented 1 year ago

Came across this - Compiler Explorer

Notes:

benedictkao commented 1 year ago

Yup I think we can just use constexpr in cpp files, but not sure what is the best practice for header files