Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in constexpr

constexpr static member before/after C++17

c++ static constexpr c++17

C++11 constexpr function's argument passed in template argument

Concat two `const char` string literals

The value of a const variable is or is not usable in a constant expression, depending on the variable type

c++ c++11 constants constexpr

Why does enabling undefined behaviour sanitization interfere with optimizations?

Empty destructor vs literal destructor

How to print result of a compile-time calculation in C++?

can have definition variable of non-literal type in constexpr function body c++14?

Why is std::array::size constexpr with simple types (int, double, ...) but not std::vector (GCC)?

c++ arrays c++11 constexpr

Undefined symbols for constexpr function

Is a constexpr array necessarily odr-used when subscripted?

Can a string literal be subscripted in a constant expression?

Possible to instantiate templates using a for loop in a C++14 constexpr function?

c++ c++14 constexpr

C++1y/C++14: Assignment to object outside its lifetime is not allowed in a constant expression?

Global constants in C++11

c++ c++11 constants constexpr

Determine `constexpr` execution - during compilation or at runtime?

c++ c++14 constexpr

Why can I call a non-constexpr function inside a constexpr function?

Compound assignment in constexpr function: gcc vs. clang

Why do these two pieces of code using constexpr, __PRETTY_FUNCTION__ and char * have different results?

c++ gcc c++17 constexpr

why declare constrexpr constructors for classes with non-trivial destructors (e.g. unique_ptr, std::variant)

c++ c++14 constexpr c++17