Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constant-expression

When can you use a const int as the size of an array? [duplicate]

How can I tell if an elisp expression is pure and constant?

Why is it possible to use the return of a lambda, passed as argument of a constexpr function argument, in a constant expression within the function?

Conditional-Operator in Constant Expression

Setting an array's size to the value of a const derived from the division of another constant

Why references can't be used with compile time functions?

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

Address of static const isn't const expression?

Delphi Constant Expression Expected

Why can't a placement-new expression be a constant expression?

Initialize C++ array2 using constant array1 known at compile time

Constant expression not representable in type 'UInteger'

C++ integral constant expression definition

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?