List Question
20 TechQA 2024-03-28T23:37:05.677000What new types and operations can take place in a constexpr in C23?
57 views
Asked by CPlus
How to get the number of items in a Perl list constant?
105 views
Asked by FreonPSandoz
Why doesn't this 'increment then decrement' generic const expression work in Rust?
67 views
Asked by eliaxelang007
Require derived classes to provide a static const value
142 views
Asked by Charles
Compiling in GCC but not in Clang: "initializer element is not a compile-time constant"
46 views
Asked by rammmmm_
MSVC accepts constant pointer to int initialized with nullptr as constant expression
145 views
Asked by user12002570
Changing an inlined global function to a constant propagated functor argument
90 views
Asked by Bobby
Can unexecuted branches of a conditional operator cause undefined behavior at compile-time?
109 views
Asked by CPlus
How can I do short string optimization at compile time?
173 views
Asked by CPlus
Constexpr / Compile time constant expressions bugs
75 views
Asked by GAMERZNIGHTMARE
C++11 compile time calculation of constant array
46 views
Asked by bko
Using a `constexpr static` function defined in a class to initialize a member of the same class
55 views
Asked by Stefan
In C++ 11 Is there any way to branch by if a function parameter is compile-time constant or not?
1.3k views
Asked by lighthouse
In Rust can you associate a constant value to each enum variant and then collect those values at compile time?
274 views
Asked by Jack Stodart
Stateful const functions/ creating an enum from info available at compile time
42 views
Asked by Jam
Constant folding in G++
298 views
Asked by sjiamnocna
C++: efficient compile-time looping and Boost::hana::while_() runtime cost
116 views
Asked by Sardine
Check if a type is defined via static_assert?
548 views
Asked by Tyler
constexpr general confusion
355 views
Asked by SomeoneWithPassion
Aren't all expressions during constant evaluation also constant expressions?
175 views
Asked by SomeoneWithPassion