Search code examples
Usage of std::is_constant_evaluated() since C++23...


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

Read More
What is consteval?...


c++c++20consteval

Read More
consteval member function allowed?...


c++language-lawyerc++20c++23consteval

Read More
Calling a consteval function within if consteval causes error in non-constexpr context...


c++c++23consteval

Read More
C++23 constexpr size limitations? Iterating through 0x4000 = ok, to 0x5000 = not a constant expressi...


c++constexprc++23consteval

Read More
Is the address of a consteval-constructed object a constant expression?...


c++language-lawyerconstexprconsteval

Read More
Why does a Template inside a consteval function accepts a function parameter as one of its template ...


c++templatesc++20consteval

Read More
Calculate 'const char *' string hash at compile-time...


c++constexprconsteval

Read More
Returning std::vector from an immediate function...


c++language-lawyerc++20stdvectorconsteval

Read More
Problem with consteval and multiplying magic numbers. c++...


c++c++20constexprconsteval

Read More
C++ function that returns a pointer to a member function...


c++variadic-templatesconsteval

Read More
Why isn't constexpr guaranteed to run during compilation?...


c++constexprconsteval

Read More
A name for describing `consteval` function argument being known at compile time but not constexpr...


c++c++20terminologyconsteval

Read More
Is it possible to raise compile error when string is too long without macros in C++20 or lower?...


c++c++20constexprconsteval

Read More
GCC, LLVM and MSVC disagree about passing constexpr std::string's content to the runtime world. ...


c++language-lawyerc++20constexprconsteval

Read More
C++ metaprogramming vs compiler optimization...


c++compiler-optimizationconsteval

Read More
constexpr for amortizing heavy computation...


c++constexprconsteval

Read More
typeid().name() and consteval function problem...


c++visual-c++consteval

Read More
Should user defined literals always be consteval in C++20?...


c++c++20constant-expressionuser-defined-literalsconsteval

Read More
Why can't we use compile-time 'variables' in consteval functions as template parameters?...


c++templatesmetaprogrammingc++20consteval

Read More
Is gcc wrong to allow the initialization of a const array member with another array reference?...


c++arraysc++20member-initializationconsteval

Read More
Must consteval constructor initialize all data members?...


c++constructorlanguage-lawyerconsteval

Read More
New-expression with consteval constructor in constexpr context...


c++language-lawyerc++20constexprconsteval

Read More
Why is there such a massive difference in compile time between consteval/constexpr and template meta...


c++templatesc++20ackermannconsteval

Read More
Is it OK to use lambda function parameter as a constant expression?...


c++language-lawyerc++20static-assertconsteval

Read More
Cannot use consteval functions inside initializer list on MSVC...


c++visual-c++c++20consteval

Read More
consteval wrapper vs. source_location...


c++gccc++20constevalstd-source-location

Read More
C++20 consteval functions and constexpr variables - are they guaranteed to be evaluated at compilati...


c++language-lawyerc++20constexprconsteval

Read More
Why does `consteval` not behave as expected?...


c++compiler-errorsc++20constexprconsteval

Read More
Is it possible to pass a reference to a consteval function and use it as additional return value?...


c++c++20constexprconsteval

Read More
BackNext