Search code examples
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
Can initialization of static constant be skipped by 'case' label?...


c++switch-statementlanguage-lawyerc++14constexpr

Read More
Is there a standard way to keep the result of a constexpr std::string function?...


c++c++20constexpr

Read More
How to pass any constexpr function as a parameter to constexpr array computation?...


c++templatesc++17constexpr

Read More
Should this example for non structural constexpr C++ argument compile?...


c++language-lawyerconstexpr

Read More
Is there a template/constexpr/C++11 way of replacing X-macros?...


c++templatesc++11constexpr

Read More
Undefined behavior allowed in constexpr -- compiler bug?...


c++undefined-behaviorconstexpr

Read More
Compile time check if string contains quotes...


c++stringc++17constexprcompile-time

Read More
Simple constexpr switch-case fails to compile on MSVC...


c++visual-c++language-lawyerconstexprc++23

Read More
Mutable static variables in consteval contxt...


c++constexprstdmapc++23consteval

Read More
How to check that a function result is constexpr even when the argument is not?...


c++constexprc++-concepts

Read More
How can a sprintf-like function in C++20/23 verify that the number of format specifiers matches the ...


c++c++20constexprc++23consteval

Read More
BackNext