This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Where is docs for typeid(x).name()?
- From: "Lee Rhodes" <lee at rhoba dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 11 Jul 2007 12:19:42 -0700
- Subject: Where is docs for typeid(x).name()?
I have figured out by experimenting that typeid(x).name() produces:
'c' if x is type char
'h' if x is type unsigned char
'i' if x is type int
'j' if x is type unsigned int
...and so on.
Where can I find the full list of such symbolic representations of internal
types?
Lee.