List Question
20 TechQA 2024-02-26T15:31:47.113000GCC and Clang are behaving differently with respect to constant evaluation
92 views
Asked by Oersted
Manifestly constant-evaluated expressions: inconsistency between constexpr and consteval?
60 views
Asked by Oersted
Constexpr time compute graph generation in cpp
60 views
Asked by Siddharth Sinha
How different would be these two compile-time Factorial functions in C++20
121 views
Asked by Iman Abdollahzadeh
Why does a Template inside a consteval function accepts a function parameter as one of its template parameters?
114 views
Asked by Martin Fehrs
Calculate 'const char *' string hash at compile-time
200 views
Asked by Jeroen Boschma
Unable to update std::variant in consteval context
198 views
Asked by Aakash Gupta
Problem with consteval and multiplying magic numbers. c++
142 views
Asked by Bard
How can constexpr pointers exist and constevel function return a pointer at compile time?
217 views
Asked by Akshay J R
C++ function that returns a pointer to a member function
179 views
Asked by XORer
How do I issue a compiler error for invalid argument to a consteval function?
51 views
Asked by Samuel Okechukwu
What are the advantages of using constexpr instead of consteval function?
329 views
Asked by DanRechtsaf
Is it possible to derive template parameters from a literal integer in a formula somehow?
104 views
Asked by wolfjazz
Is it possible to raise compile error when string is too long without macros in C++20 or lower?
154 views
Asked by Tomáš Zato
custom minimalist std::map with constexpr operator[]
498 views
Asked by user23952
Returning std::vector from an immediate function
612 views
Asked by Fedor
GCC, LLVM and MSVC disagree about passing constexpr std::string's content to the runtime world. Who is right?
173 views
Asked by Benjamin Buch