Suppose it exists a namespace Foo.
namespace Foo {
T m;
U n;
}
T and U may be int, double or other built-in type. So, is it possible that can determine built-in type in Runtime?
No, C++ is statically typed. All types are known at compile time and cannot change at runtime.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.