|
Boost : |
From: Maxim Yegorushkin (e-maxim_at_[hidden])
Date: 2004-06-08 07:05:23
Trey Jackson wrote:
[]
> I'd just like to avoid/guarantee I'm not going to be hit by some O(N)
> look-up for using typeid a lot.
typeid lookup is constant.
Isn't dynamic memory allocation hit your concern as it's not only non-constant rather it's nondeterministically non-constant?
-- Maxim Yegorushkin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk