Works in GCC, MSVC error C3615: constexpr function ‘GPSinfo_T::GPSinfo_T’ cannot result in a constant expression
I’ve got a really simple C++ 20 struct with a constexpr ctor. Compiles and runs fine with GCC recent versions, but not MSVC 2022 with latest patches. Is the MSVC compiler incorrect, or have I missed something?
Difference between MSVC and GCC/Clang for consexpr constructor
I would please like some help understanding why the following code does not compile in MSVC (/std:c++20) but does in GCC and Clang. Seems to be related to the constexpr constructor maybe.
tuple_cat as references does not compile if it is constexpr
I have made a tuple cat function that will return references to all the original tuples elements. However it does not compile when I use it in a constexpr context.
how to use constexpr to make constant std::array of pairs of char in C++?
this is my code:
How can I make format constexpr?
I have the following function: