By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,234 Members | 2,041 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,234 IT Pros & Developers. It's quick & easy.

RunTime Type Information

P: n/a
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]
Sep 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <ef**********@webinfo.cs.hku.hk>, bw*********@gmail.com
says...
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.
Sep 27 '06 #2

P: n/a

LaBird wrote:
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

Sep 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.