Boost logo

Boost :

Subject: Re: [boost] question about C++11 guidelines
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2012-05-03 06:22:04

----- Mail original -----
> De: "Andrey Semashev" <andrey.semashev_at_[hidden]>
> À: boost_at_[hidden]
> Envoyé: Jeudi 3 Mai 2012 10:48:45
> Objet: Re: [boost] question about C++11 guidelines
> > What about this ?
> >
> > 1) If Foo is a Boost library, it should use boost::shared_ptr.
> > 2) boost::shared_ptr may be an alias/using/... to std::shared_ptr.
> > But this is up to Boost.SmartPtr, not to Boost.Foo.
> AFAIR, not all boost libraries are equivalent to the standard
> counterparts.


If boost::bar cannot be based on std::bar, whatever "based on" means, Boost.Bar decides so.
Regardless, Boost should consider boost::bar as the default, or consider deprecating Boost.Bar.

Now if Boost.Foo needs a feature that boost::bar cannot implement,
it should use whatever suits including std::bar. Obviously.
But this is not the point of the thread, IIUC.


Boost list run by bdawes at, gregod at, cpdaniel at, john at