|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Typeid type_info objects are returned?
Type_info the constructor function is a private, and that is how to produce type_info typeid target? |
Typeid type_info objects are returned?
You can not directly instantiate objects of the class type_info. because the class has only a private copy constructor. The only way to construct a (temporary) type_info object is to use the typeid operator. Since the assignment operator is also private. you can not copy or assign objects of class type_info. |
Typeid type_info objects are returned?
If typied as a function of the case, I can use the function as a kind of Tomomoto typeinfo function, we can not have a target? This is the compiler. You do not need to produce a manual typeinfo targets. |
| |