Search code examples
Wrong computation of sum in a constant expression...

c++visual-c++sumoperator-keywordconstexpr

Read More
static constexpr member of same type as class being defined...

c++c++11constexpr

Read More
Difference between "if constexpr()" Vs "if()"...

c++if-statementc++17constexprif-constexpr

Read More
C++ constexpr operations on each element of a constexpr array...

c++arraysvisual-studio-2022constexprstatic-assert

Read More
Why isn't std::array's operator==() marked constexpr?...

c++c++11comparisonconstexprstdarray

Read More
Loop over pairs from 2 constexpr arrays to instantiate and run template function...

c++templatesconstexprfunction-templatesnested-for-loop

Read More
How can I convert an integer to CUDA's __half FP16 type, in a constexpr fashion?...

c++floating-pointcudaconstexprhalf-precision-float

Read More
How does a failed static_assert work in an if constexpr (false) block?...

c++templatesconstexprc++17static-assert

Read More
Are multiple identical non-inline constexpr variable definitions allowed in different translation un...

c++language-lawyerconstexprc++23one-definition-rule

Read More
Creating a compile-time calculated Lookup Table that uses math functions to calculate the elements...

c++c++17constexprlookup-tables

Read More
Can't you just make a constexpr array by making a constexpr function that returns an std::array?...

c++c++17constexpr

Read More
Constexpr find for array using c++17...

c++arraysc++17constexpr

Read More
Undefined reference error to static constexpr data member...

c++c++11arduinoconstexprundefined-reference

Read More
Most efficient way to determine if an integer is odd or even using modern C++ techniques...

c++performancec++17constexpr

Read More
`constexpr vector` still fails, while there's stated to be supported in cppreference...

c++c++20constexpr

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

c++language-lawyerconstexprc++14

Read More
Object's state changes after its construction and before a member function call...

c++visual-c++c++17constexprcopy-constructor

Read More
May object pointer be always compared with nullptr in a constant expression?...

c++pointerslanguage-lawyerconstexprrvalue

Read More
Copy elision (e.g. NRVO) during constant evaluations...

c++visual-c++language-lawyerconstexprcopy-elision

Read More
Inaccurate compile-time computation of Fibonacci sequence in a recursive lambda...

c++lambdaconstexprc++23explicit-object-parameter

Read More
C++ Compile-Time Class With std::vector Member Variable and Use It's Data at Run-Time...

c++gccc++20constexprcompile-time

Read More
Works in GCC, MSVC error C3615: constexpr function 'GPSinfo_T::GPSinfo_T' cannot result in a...

c++constexpr

Read More
How Do Compilation and Linking Affect constexpr Declarations Across Multiple Files in C++?...

c++translationconstexpr

Read More
C++ check if statement can be evaluated constexpr...

c++template-meta-programmingconstexprc++20if-constexpr

Read More
How does C++ handle constexpr evaluation for non-static member function pointers on runtime objects?...

c++language-lawyerconstexprcompile-time-constant

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

c++constexprc++17if-constexpr

Read More
In GCC, inside a lambda, I can get constexpr variable from a non-constexpr template lambda, but not ...

c++templateslambdac++20constexpr

Read More
Can you call a static constexpr member function at compile time?...

c++c++20constexprc++23requires-expression

Read More
get constexpr variable from a lambda function is fine , but compile fail (Visual C++) and fine (gcc)...

c++lambdalanguage-lawyerc++20constexpr

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

c++constexprc++23consteval

Read More
BackNext