[ACCEPTED]-How do I do typeof(int) in Managed C++?-managed
Accepted answer
In C++/CLI, use the typeid keyword.
e.g.
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.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.