On Jun 11, 3:33 pm, sumsin <sumsin...@gmail.com> wrote:
> What is type_info object?
What a typeid expression returns. As a minimum, it supports
comparison for equality (== and !=), and the functions before()
and name(); I'm pretty sure that an implementation is allowed to
add other things as well (not that I know of one that does).
Note that since it is not copiable nor assignable, you can't put
them in containers.
--
James Kanze (GABI Software) email:
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
|