List Question
20 TechQA 2024-02-29T16:14:21.837000GCC and Clang are behaving differently with respect to constant evaluation
92 views
Asked by Oersted
Why doesn't this 'increment then decrement' generic const expression work in Rust?
67 views
Asked by eliaxelang007
Cannot define constant variable that depends on another variable from a different header file in C
91 views
Asked by Ashwin Prasad
MSVC accepts constant pointer to int initialized with nullptr as constant expression
145 views
Asked by user12002570
constexpr pointer/reference initialization
132 views
Asked by lazba
Add a pair to a std::map that has a const value
86 views
Asked by Marko
What happens if an assumption, i.e. [[assume]] fails in a constant expression?
275 views
Asked by Jan Schultke
Constexpr / Compile time constant expressions bugs
75 views
Asked by GAMERZNIGHTMARE
(C++) What exactly does this expression do? numeric_limits<double>::is_signed
69 views
Asked by Lena_Bean
Recursively descending generic constant
55 views
Asked by user18236575
Mismatch between C++17 and C++20, const char* no longer a constant expression
66 views
Asked by alexpanter
constexpr general confusion
355 views
Asked by SomeoneWithPassion
Aren't all expressions during constant evaluation also constant expressions?
175 views
Asked by SomeoneWithPassion
Should user defined literals always be consteval in C++20?
382 views
Asked by Benjamin Buch
Expression: "with value" vs. "evaluate to value"
105 views
Asked by pmor
Why initialization of constexpr variable from non constexpr variable succeeds in case of class
231 views
Asked by Alan
What exactly is a C++ constant subexpression?
203 views
Asked by cmutex
Achieving a good compile-time error msg. based on value of parameter to factory function
116 views
Asked by jgreen81
Why does __builtin_constant_p evaluate to false for a constexpr std::string_view argument?
537 views
Asked by PluginPenguin