$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (gregod_at_[hidden])
Date: 2004-06-08 09:21:48
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