Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-09 16:38:37


Not at all; I'm saying that an indirect_iterator over a list<shared_ptr<T> >
is a reasonable thing to write.

-Dave
----- Original Message -----
From: "Beman Dawes" <bdawes_at_[hidden]>
To: <boost_at_[hidden]>; <boost_at_[hidden]>
Sent: Friday, March 09, 2001 10:36 AM
Subject: Re: [boost] Using indirect_iterator on smart pointers

> At 11:24 PM 3/8/2001 -0500, David Abrahams wrote:
>
> >Sorry, I "meant" to write boost::shared_ptr there.
> >
> >-Dave
>
> I'm sorry, I lost the context. Are you saying that boost::shared_ptr is
> not CopyConstructible?
>
> --Beman
>
> >
> >----- Original Message -----
> >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 :-}
> >>
> >
> >
> >
> >List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
> >
> >
> >Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
> List-Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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