Re: [boost] boost::any question
by Doug Gregor other posts by this author
Jun 8 2004 2:21PM messages near this date
[boost] Re: boost::any question
|
[boost] Re: Some remarks on PP docs
On Jun 7, 2004, at 7:01 PM, Trey Jackson wrote:
> I'm unfamiliar with typeid - and how it's implemented.
>
> Does anyone have good pointers to how typeid is generally implemented?
> Or even specifically: I'm using gcc3.x on RH Linux.
It's typically a virtual function call. The only performance problem
I'd expect is due to comparison of typids, which in many cases must
resort to a string comparison of the type names.
Doug
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Trey Jackson
Maxim Yegorushkin
Doug Gregor
|