Search code examples
Java constant expressions and code elimination...

javajavacdead-codeconstant-expressioncode-elimination

Read More
how to construct a constexpr static_string from constexpr std::string_view...

c++constexprstring-viewconstant-expression

Read More
Why is a `val` inside an `object` not automatically final?...

scalafieldfinalconstant-expression

Read More
Why "Each constant expression shall evaluate to..." instead of "Each evaluated consta...

clanguage-lawyerevaluationconstant-expressionexpression-evaluation

Read More
Why is a parameter not a constant expression in a constexpr function?...

c++gccc++14constexprconstant-expression

Read More
Unexpected Output from Bit Shifting using len on a string vs. string subslice...

gobit-shiftconstant-expression

Read More
Can I get a Rust array's length with only a type, not a concrete variable?...

arraysrustdependent-typeconstant-expression

Read More
Why is it possible to use the return of a lambda, passed as argument of a constexpr function argumen...

c++constant-expressioncallable-objectconstexpr-function

Read More
Why is a reference parameter in a constexpr function not a constant expression?...

c++language-lawyerconstexprconstant-expression

Read More
Why is it only sometimes allowed to use a const int as an array size?...

c++arraysconstantsconstant-expression

Read More
When can you use a const int as the size of an array?...

c++arraysconstantsconstant-expression

Read More
Why am I getting an "expected constant expression" error for the array size?...

c++arraysconstant-expression

Read More
Cannot define constant variable that depends on another variable from a different header file in C...

cstaticconstantsheader-filesconstant-expression

Read More
How to get a compile time error in constant evaluated expression?...

c++gccassertionc++20constant-expression

Read More
MSVC accepts constant pointer to int initialized with nullptr as constant expression...

c++pointerslanguage-lawyercompile-time-constantconstant-expression

Read More
Are the definitions of "core constant expression" and "constant expression" circ...

c++language-lawyerc++14constant-expression

Read More
What happens if an assumption, i.e. [[assume]] fails in a constant expression?...

c++language-lawyerconstant-expressionc++23assumption

Read More
(C++) What exactly does this expression do? numeric_limits<double>::is_signed...

c++booleanconstant-expressionnumeric-limits

Read More
Is there a standard way to guarantee that a certain (constant) expressions will be evaluated at comp...

clanguage-lawyerc11constant-expressionc17

Read More
c#: what is a constant expression?...

c#custom-attributesconstant-expression

Read More
constexpr general confusion...

c++language-lawyerconstexprcompile-time-constantconstant-expression

Read More
Should user defined literals always be consteval in C++20?...

c++c++20constant-expressionuser-defined-literalsconsteval

Read More
Why initialization of constexpr variable from non constexpr variable succeeds in case of class...

c++constant-expression

Read More
Expression: "with value" vs. "evaluate to value"...

clanguage-lawyerterminologyconstant-expression

Read More
What exactly is a C++ constant subexpression?...

c++constant-expression

Read More
Common Lisp: Is the interpreter or compiler allowed to coalesce identical constant expressions?...

common-lispconstant-expression

Read More
Dart: Constant evaluation error. The method '[]' can't be invoked in a constant expressi...

dartcompile-time-constantconstant-expression

Read More
objects that're usable constant expressions...

c++language-lawyerc++20constant-expression

Read More
How to make `this` pointer constant expression?...

c++language-lawyerthisconstant-expression

Read More
Evaluate constant expression during compile time...

cconstant-expression

Read More
BackNext