I am using MSVC 19, and get an error while compiling the following code. Is there any way to get type_info
and name
of the object in consteval
functions?
class CChTest
{
public:
static consteval const char* test()
{
const char* ChReturn = typeid(CChTest).name();
// ...
// ...
return ChReturn;
}
};