r/cpp • u/antiquark2 #define private public • Feb 24 '26
P4019R0: constant_assert (Jonas Persson)
https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2026/p4019r0.pdf
23
Upvotes
r/cpp • u/antiquark2 #define private public • Feb 24 '26
View all comments
Show parent comment
1
u/Nicksaurus Feb 25 '26
If it's an official part of the spec they might make it more reliable. It also doesn't check if the argument is true, it just checks if it's known at compile time