Search code examples
How to declare a compile-time constant list of different size lists in a constant header file?...


c++constantsconstexpr

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


c++c++11gccconstexprstatic-assert

Read More
How can I use std::is_constant_evaluated() without generating a warning...


c++constexpr

Read More
Is it possible to use std::string in a constant expression?...


c++c++11constexprstdstring

Read More
Constant expression error when consteval function called from another...


c++arraysc++20constexprconsteval

Read More
Use folding in constexpr function c++...


c++constexpr

Read More
Will consteval functions allow template parameters dependent on function arguments?...


c++language-lawyerconstexprc++20class-template

Read More
Computing length of a C string at compile time. Is this really a constexpr?...


c++c++11standardsconstexprstring-literals

Read More
Why does cpp execute 2 different implementations of the same functions based on the ability to evalu...


c++c-stringsconstexpr

Read More
constexpr initialisation of std::string from const char* with count...


c++c++20constexpr

Read More
How to determine the offset of an element of a tuple at compile time?...


c++tuplesoffsetconstexprmember

Read More
Can't use function parameter of a constexpr function in a constant expression...


c++constexprconstant-expressionconstexpr-function

Read More
Is there a way to syntax highlight constexpr variables in Eclipse CDT?...


c++eclipseeclipse-cdtconstexpr

Read More
Evaluating strlen at compilation time?...


c++language-lawyerconstexpr

Read More
How to ensure order of template parameter pack with static_assert?...


c++c++20variadic-templatesconstexprstatic-assert

Read More
Why can a lambda passed as an argument be used in a constant expression?...


c++lambdac++17constexpr

Read More
Is it possible to test if a constexpr function is evaluated at compile time?...


c++c++14c++17constexprcompile-time

Read More
Call to constexpr function accepting an array fails to compile...


c++arraystemplatesc++14constexpr

Read More
Generating compile time functions string for formatting strings with {fmt}...


c++c++17constexprstdstringfmt

Read More
Why should I be careful in "noexcept-ing all the functions" just like I "const all th...


c++constantsconstexprnoexceptcpp-core-guidelines

Read More
Why isn't the compiler evaluating a constexpr function during compilation when every information...


c++c++14constexpr

Read More
c++11 fast constexpr integer powers...


c++optimizationc++11recursionconstexpr

Read More
std::source_location - filename only, not full path - compile-time substring?...


c++stringconstexprcompile-time

Read More
Are empty structs constant expressions?...


c++constantsconstexpr

Read More
Compile-time manipulation of std::source_location::current()...


c++constexprconstevalstd-source-location

Read More
Equivalent ternary operator for constexpr if?...


c++constexprc++17if-constexpr

Read More
Lookup table with constexpr...


c++c++11constexprlookup-tables

Read More
Forward string literal to consteval function...


c++constexprconsteval

Read More
C++: How to iterate over tuple in compile-time?...


c++testingtuplesconstexprcompile-time

Read More
Sharing constants between CPU and GPU in CUDA...


c++cudac++17global-variablesconstexpr

Read More
BackNext