std:::any e = 1.0f;
And this is what I get in VS watch:
Is there a way to get the value and the type?
If I use std::any_cast<float>(e)
it works, but what If I don't know the type.
If I use any other <> invalid type in std::any_cast I guess that the debugger crashes. It detaches from my app and then I get an invalid type message in the watch window.