Subject: Re: [boost] question about C++11 guidelines
From: Daniel James (dnljms_at_[hidden])
Date: 2012-05-03 06:16:05
On 2 May 2012 23:01, Eric Niebler <eric_at_[hidden]> wrote:
> I'm leaning toward using std:: where I can, and falling back on Boost's
> versions only when there is a compelling reason.
I'll only comment on my libraries.
For unordered containers, my advice is to use the standard versions if
they're up to scratch. They have some implementation advantages over
the boost version, and it's a good idea for everyone to settle on the
With boost::hash or std::hash, it's a little less clear cut, since
boost::hash does a bit more than the standard version. If anyone
wishes to use boost::hash with the standard unordered containers,
C++11 template aliases will make that a lot easier.