Velocity Reviews

Velocity Reviews (
-   C++ (
-   -   What is type_info object? (

sumsin 06-11-2008 01:33 PM

What is type_info object?
What is type_info object?

James Kanze 06-12-2008 08:54 AM

Re: What is type_info object?
On Jun 11, 3:33 pm, sumsin <> 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)
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

All times are GMT. The time now is 08:24 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.