forked from boostorg/smart_ptr
smart_ptr.hpp less<> fixed, partial specialization enabled on Sun 5.3
[SVN r12334]
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user