Boost logo

Boost Users :

From: Steven E. Harris (seh_at_[hidden])
Date: 2006-06-14 15:58:05


Peter Dimov <pdimov_at_[hidden]> writes:

> One common problem of this kind is
>
> template< class T, class A = std::allocator<T> > class X;
>
> X<int> x;
>
> foo( x ); // searches std

Given that this can be characterized as a problem, what's a "positive"
example to illustrate the motivation for this rule? There must be
something useful it's meant to enable. Or, rather, I hope there is.

-- 
Steven E. Harris

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net