smart_ptr.hpp less<> fixed, partial specialization enabled on Sun 5.3

[SVN r12334]
This commit is contained in:
Peter Dimov
2002-01-17 12:46:45 +00:00
parent 4f964ce6ad
commit b104e9ae78

View File

@@ -377,7 +377,7 @@ template<typename T>
{ {
bool operator()(const boost::shared_ptr<T>& a, bool operator()(const boost::shared_ptr<T>& a,
const boost::shared_ptr<T>& b) const const boost::shared_ptr<T>& b) const
{ return less<T*>()(a.get(),b.get()); } { return std::less<T*>()(a.get(),b.get()); }
}; };
template<typename T> template<typename T>
@@ -386,7 +386,7 @@ template<typename T>
{ {
bool operator()(const boost::shared_array<T>& a, bool operator()(const boost::shared_array<T>& a,
const boost::shared_array<T>& b) const const boost::shared_array<T>& b) const
{ return less<T*>()(a.get(),b.get()); } { return std::less<T*>()(a.get(),b.get()); }
}; };
} // namespace std } // namespace std