Boost logo

Boost :

Subject: Re: [boost] [locale] localization_backend_manager interface issue
From: Vicente BOTET (vicente.botet_at_[hidden])
Date: 2011-04-15 16:15:12


> Message du 15/04/11 20:59
> De : "Jeffrey Lee Hellrung, Jr."
> A : boost_at_[hidden]
> Copie à :
> Objet : Re: [boost] [locale] localization_backend_manager interface issue
>
> On Fri, Apr 15, 2011 at 11:52 AM, Artyom wrote:
>
> >
> >
> > >
> > > std::auto_ptr is deprecated in C++0x.
> > > Just for note.
> > >
> > > --
> > > Ryou Ezoe
> >
> > I'm aware of it even thou I'm really not happy with it.
> >
> > In any case auto_ptr is the only pointer with move ownership
> > semantics in C++03 and Boost, so meanwhile it is the only valid
> > solution that has clear ownership semantics.
> >
>
> One alternative to using std::auto_ptr is the unique_ptr implementation
> found in sandbox/unique_ptr (by Hinnant & Gatzanaga)...you can copy the
> source to a detail namespace in your library until we have a portable
> boost::unique_ptr...

There is already a unique_ptr implementation in Boost.Interprocess.

Best,
Vicente


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