Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constant-expression

C++ logging source line of an object instantiation as a constant expression without a macro

Aren't all expressions during constant evaluation also constant expressions?

How to set array size with const member variable?

constexpr general confusion

Why does constinit allow UB?

What do the words "undefined" mean in bullet point §5.19/2.3 in N4140?

what is the meaning of the phrase "preceding initialization" in section [expr.const]

Is reading one-past-the-end pointer allowed in a constant expression when short-circuit disable its evaluation

Will the Java compiler precalculate sums of literals?

Inconsistent evaluation for `constexpr` lambdas in templates between `static_assert`, `if constexpr(...)` and `constexpr` variables

In-class static member initialization

Is const_cast valid in a constant expression? (C++14, C++17)

Parameterized tests in f# - This is not a valid constant expression

What is a core constant expression in the C++11 Standard?

Why can't a static initialization expression in C use an element of a constant array?

Why can't I turn this string into a Literal?

f# constant-expression

Java SE 11 String Final Variable with Ternary Operator Does Not Count as a Constant Variable in Switch Case Expression

Templated delegating copy constructor in constant expressions