 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
LaBird Guest
|
Posted: Wed Sep 27, 2006 9:11 am Post subject: RunTime Type Information |
|
|
Dear all,
I would like to ask, has RTTI (RunTime Type Information) become a language
standard in C++, or is it still considered as an add-on feature that some
up-to-date versions of C++ implementations do not provide?
Thanks!
Best Regards,
LaBird (Benny).
[Email: Please remove all hyphens in the email shown above] |
|
| Back to top |
|
 |
peter koch Guest
|
Posted: Wed Sep 27, 2006 9:11 am Post subject: Re: RunTime Type Information |
|
|
LaBird wrote:
| Quote: | Dear all,
I would like to ask, has RTTI (RunTime Type Information) become a language
standard in C++, or is it still considered as an add-on feature that some
up-to-date versions of C++ implementations do not provide?
Thanks!
|
As Jerry Coffin told you, it is required by the standard. Some
compilers might not provide it when you compile out-of-the-box. In that
case you will have to set a switch.
Kind regards
Peter |
|
| Back to top |
|
 |
Jerry Coffin Guest
|
Posted: Wed Sep 27, 2006 9:11 am Post subject: Re: RunTime Type Information |
|
|
In article <efd2om$nm6$1 (AT) webinfo (DOT) cs.hku.hk>, bwl-che-ung (AT) gmail (DOT) com
says...
| Quote: | Dear all,
I would like to ask, has RTTI (RunTime Type Information) become a language
standard in C++, or is it still considered as an add-on feature that some
up-to-date versions of C++ implementations do not provide?
|
RTTI is required by the standard.
--
Later,
Jerry.
The universe is a figment of its own imagination. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|