The Standard C++ Library function typeid() maps a class name to a string. The mapping is not standardized. Typically, the output is the class name as a string; but it could be "" and still be compliant.
Reference: Modern C++ Design by Andrei Alexandrescu. Addison-Wesley, 2001, p. 39.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment