List Question
20 TechQA 2024-03-08T08:46:45.440000Using constexpr for both runtime and compile-time evaluations - passing constexpr value as a function parameter
100 views
Asked by NormakLOE32
cout is able to run at compile-time
94 views
Asked by ntos
Can any reentrant function in C++ be refactored into a constexpr function?
88 views
Asked by yqZhang4480
What are the conditions that `constexpr` will start a new constant expression context?
143 views
Asked by Waker
virtual and constexpr before up to C++17
348 views
Asked by Oersted
Different compilation results with template and non-template class having constexpr constructor
126 views
Asked by Satyam Sharma
Can `constexpr` functions contain side-effects?
267 views
Asked by user51462
Why should constexpr functions contain exactly one return statement?
144 views
Asked by jsfpdn
how to make a field of a constexpr object constexpr too?
63 views
Asked by shar yashuv Giat
Given C++23 relaxations on constexpr, can't constexpr be the default?
1.1k views
Asked by Brotcrunsher
error while trying to compile .data() from std::array as a constexpr function in c++20
221 views
Asked by jabluko
Static assertion if one std::array is a subset of the other
127 views
Asked by AK87
What is the proper definition for a constexpr function that take a character array?
166 views
Asked by Andi Abrudan
how to check that const array members grow monotonically at compile time
111 views
Asked by lomo
Why does gcc 12.2 not optimise divisions into shifts in this constexpr function called from main()
255 views
Asked by Finn Eggers
Getting the value of a constexpr std::variant via constexpr function
45 views
Asked by std_unordered_map
A constexpr function that calculates how deep a std::vector is nested
390 views
Asked by palapapa