
----- Mail original -----
De: "Andrey Semashev" <andrey.semashev@gmail.com> À: boost@lists.boost.org 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.
IMHO, 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. Regards, Ivan