Search code examples
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
constexpr replacements for math constants like M_PI...


c++c++11constantsconstexprcmath

Read More
Is lvalue to rvalue conversion not applied on empty class object passed by value...


c++language-lawyerc++20constexpr

Read More
Could non-static member variable be modified in constexpr constructor (C++14)?...


c++constexprc++14

Read More
Why is std::function_ref(F*) not constexpr, while other ctors are all constexpr?...


c++language-lawyerconstexprapi-designc++26

Read More
C++ builtin constexpr vs CUDA __constant__ for higher dimension array...


c++cudaconstantsconstexpr

Read More
What effect does consteval have on linkage in C++?...


c++c++20constexprlinkageconsteval

Read More
constexpr to concatenate two or more char strings...


c++templatesc++11constexpr

Read More
Why won't MSVC allow me to index into this array in consteval function?...


c++visual-c++constexpr

Read More
When does a constexpr function get evaluated at compile time?...


c++c++11runtimecompile-timeconstexpr

Read More
For a member function, are constexpr, const reference return type, and const qualification mutually ...


c++constexprmember-functions

Read More
Switch constexpr member initialization depending on bool template parameter...


c++initializationconstexpr

Read More
How to generalize concept with templated function?...


c++templatesconstexprnumeric-limits

Read More
How can I manage perform n + m checks instead of n * m for constexpr values?...


c++templateslambdaconstexpr

Read More
C23 constexpr int cannot be defined using a constexpr float or double...


cconstexprc23

Read More
Compiler is out of heap when compiling recursive consteval function...


c++gccclangc++20constexpr

Read More
How to declare static constexpr variable in C++?...


c++staticc++20declarationconstexpr

Read More
Template to check overflow and static_assert...


c++templatesconstexprstatic-assert

Read More
Why is a recursive constexpr function so much faster with reference parameters than with values?...


c++recursioncompilationconstexpr

Read More
OpenMP directive in constexpr functions...


c++openmpconstexpr

Read More
How do I reverse the order of the integers in a `std::integer_sequence<int, 4, -5, 7, -3>`?...


c++templatesc++14constexprtemplate-meta-programming

Read More
Can I detect an integer type without listing all of them as template specializations?...


c++c++17constexpr

Read More
BackNext