List Question
20 TechQA 2024-03-31T20:10:48.790000Can std::bit_cast be applied to an empty object?
129 views
Asked by Fedor
Static data member of template class type: constexpr vs. const constinit
140 views
Asked by seanlego23
What new types and operations can take place in a constexpr in C23?
57 views
Asked by CPlus
Using lambda function in constexpr constructor with std::tie
73 views
Asked by tmlen
Why is std::array<T,N>::size() not declared static?
153 views
Asked by JohannesWilde
std::bit_cast equivalent for CUDA device side code?
58 views
Asked by datenwolf
gcc/msvc compile the following, clang does not. Is there a workaround?
74 views
Asked by Arjan
constexpr static vs constexpr compile time
38 views
Asked by Andreas Loanjoe
How do I generate an initializer list for a variadic arguments constructor from an std::array
56 views
Asked by Kingsley Oyelabi
In C++ how do I pass captured args to a nested lambda that uses std::format? (without getting an error)
49 views
Asked by user5406764
Using constexpr for both runtime and compile-time evaluations - passing constexpr value as a function parameter
100 views
Asked by NormakLOE32
How to get random access container with std-ranges at compile time?
79 views
Asked by billbillybill
C++ mark arithmetic hard-coded fraction as constexpr in a one-liner
92 views
Asked by ferdymercury
Why is std::nextafter not constant expression?
295 views
Asked by Tomáš Nadrchal
Is lvalue to rvalue conversion not applied on empty class object passed by value
154 views
Asked by Alan
C++ constexpr compiles too fast
64 views
Asked by user23499217
Using constant expressions as template parameter using a function parameter: which compiler is right?
136 views
Asked by Guillaume Racicot
Custom string encryption works on some strings but weirdly not others?
98 views
Asked by YoAvrageBiTz
Crash when using simple constexpr array of initializer_list on MSVC (fine on gcc and clang)
60 views
Asked by Marek R
Manifestly constant-evaluated expressions: inconsistency between constexpr and consteval?
60 views
Asked by Oersted