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

how C++ implements the dynamic type?

P: n/a
how C++ implements the dynamic type?

Nov 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
dick wrote:
how C++ implements the dynamic type?
C++ is a statically typed language.

Same effect of dynamic typing can be achieved with pointer to base class.

Alternatively, take a look at boost::any or boost::variant for wrapper
types.

Regards,
Ben
Nov 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.