Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-07-25 20:45:30

The following changes to shared_ptr might still be controversial:

// Namespace std:: definitions removed (Peter Dimov)
// Rationale:
// std::swap() overloads are illegal (, LWG issue #226)
// std::less<> specializations that do not call operator< are illegal
// (, 20.3.3/5)
// std::less cannot be partially specialized on compilers that do not
// support the feature
// std::less specializations do not help in cases like
// map<pair<shared_ptr, int>, int>

I'm too tired of the whole problem to have a strong opinion any
more, and having shared_ptr::operator< doesn't seem nearly
as evil as the core and library issues that specializing std::less
stumbles into.

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