From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-06-14 14:23:52
Jeremy Pack wrote:
> We're going to test it using integer
> IDs for type info, and see what the result is. It may actually work with
> const char * instead of string as well.
It, const char * that is, won't work in at least msvc. What I've done in
the past is do a hash of the type name for comparison. Of course if you
really wanted to get fancy, you'd use a trie for the type map.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk