Search code examples
populating an array at compile time in C...


cconstexprcompile-time

Read More
Why a std::array is not constant expression when it is the input of a templated function/generic lam...


c++arraystemplateslambdaconstexpr

Read More
Why is std::vector::at not working in the for-each loop using ranges?...


c++g++constexprgeneric-const-exprs

Read More
Modifying a global variable in a constexpr function in C++17...


c++language-lawyerc++17constexpr

Read More
Should I declare a constant instead of writing a constexpr function?...


c++c++11constexprconstexpr-function

Read More
How to reinterpret a value as bytes in a compile-time context in C++...


c++templatesconstexprcompile-timereinterpret-cast

Read More
concatenate string_views in constexpr...


c++c++17constexprstring-view

Read More
constexpr in relation to memory leaks in C...


cmemory-managementmemory-leaksconstexpr

Read More
C++14 constexpr function requirements on cppreference...


c++c++11language-lawyerc++14constexpr

Read More
Error when binding a constexpr reference to variable of different type...


c++referencetype-conversionlanguage-lawyerconstexpr

Read More
Changing active member in a union with copying using std::construct_at...


c++language-lawyerc++20unionconstexpr

Read More
Difference between MSVC and GCC/Clang for constexpr constructor...


c++constexpr

Read More
Lookup table with constexpr...


c++c++11constexpr

Read More
In C++11 is sqrt defined as constexpr?...


c++c++11constexpr

Read More
constexpr function not compiling post gcc 10...


c++templatesgnuconstexprg++10

Read More
Is possible create QString at compile time?...


c++qtconstexprcompile-time

Read More
How to implement constexpr string_view multiplication with a number...


c++c++20constexprfmtstring-view

Read More
constexpr with "long double" fails on ppc64el...


c++g++constexprpowerpc

Read More
How to use std::array's data and other member functions in a constexpr context?...


c++constexpr

Read More
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
BackNext