[ACCEPTED]-How do I do typeof(int) in Managed C++?-managed
In C++/CLI, use the typeid keyword.
Type ^t = Int32::typeid;
In the older "Managed 3 C++ Extensions" syntax, you'd use
__typeof(Int32), but 2 that whole version of the language is severely 1 deprecated and you should be using C++/CLI.
More Related questions