|
Boost : |
From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-12-29 06:20:05
>2) the current implementation of 'is_same' (in the
>'boost/details/ob_type_traits.hpp' header) internally uses 'is_reference'
>template, which, in its turn, uses 'is_const' and 'is_volatile', and
>therefore usage of 'is_same' inside (intensively) recursive templates can
be
>a limiting factor, as it reduces the number of recursively nested template
>instantiations available at user's level; it's a real problem I came
across
>of, and although using a "self-sufficient" implementation of 'is_same' is
>not going to solve it completely, in many cases it's enough to get the
>compiler eat the code.
Good point, I'll see what I can do :-)
- John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk