How do I get the name of a struct instance using C++?
I need a way to get the name of a struct instance using C++. Something along the line of: Below example use the value "foo". struct foo {}; std::string name = nameof(foo); name should equal "foo".
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.