Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-03-08 22:59:46


From: Kevlin Henney <kevlin_at_[hidden]>
> In message <032201c0a7c8$b88ba070$0500a8c0_at_[hidden]>, David
> Abrahams <abrahams_at_[hidden]> writes
> >1. An iterator whose value_type was the smart pointer (e.g.
> >std::list<std::auto_ptr<T> >::iterator)
>
> Minor nit: std::list< std::auto_ptr<T> > is not legal as auto_ptr does
> not satisfy CopyConstructible requirements :-}

And if the list and the auto_ptr are properly written
then this nit won't compile.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk