|
|
|
|
|
by quelsolaar
1137 days ago
|
|
constexpr is terrible. -constexpr is not anything like constexpr in C++.
-It makes no guarantees about anything being compile time.
-It in no way reflects the ability of the compiler to make something compile time.
-It adds implementation burden by forcing the implementations to issue errors that do not reflect any real information. (For instance you may get an error saying your constexpr isnt a constant expression, but if you remove the constexpr qualifier, then the compiler can happily solve it as a constant expression)
-All kinds of floating point issues. We should not have admitted this in to the standard, please do not use. nullptr is the third definition of null. one should be enough, two was bad. why three? |
|
Got any more information on that? Why does it fail in that way? Is that an implementation or a specification problem?