
On Thu, 02 Dec 2004 08:21:43 -0500, David Abrahams <dave@boost-consulting.com> wrote:
Peder Holt wrote:
given a metafunction is_iterator<> there may be a way around this problem:
Problem is, it's impossible to write that metafunction.
:( What a shame. For dinkumware stl (for VC6.5) it is possible to write a more specialized metafunction: is_stl_iterator<> as the relevant iterators has a common base class (vector<T> uses T*) Is this also feasible for other stl-implementations? Of course, this would only solve the problem for stl containers. The question is whether this is a common enough usage that it is advisable to implement support for it. Peder
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost