seems this was removed by accident
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1058 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
e3b9a16487
commit
697f3f5775
1 changed files with 34 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// The Loki Library
|
||||
// Copyright (c) 2006 Rich Sposato
|
||||
// The copyright on this file is protected under the terms of the MIT license.
|
||||
|
@ -1778,4 +1778,36 @@ inline bool operator >= ( U * lhs,
|
|||
namespace std
|
||||
{
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// specialization of std::less for StrongPtr
|
||||
/// \ingroup SmartPointerGroup
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
template
|
||||
<
|
||||
typename T,
|
||||
bool S,
|
||||
class OP,
|
||||
class CP,
|
||||
template < class > class KP,
|
||||
template < class > class RP,
|
||||
template < class > class DP,
|
||||
template < class > class CNP
|
||||
>
|
||||
struct less< Loki::StrongPtr< T, S, OP, CP, KP, RP, DP, CNP > >
|
||||
: public binary_function<
|
||||
Loki::StrongPtr< T, S, OP, CP, KP, RP, DP, CNP >,
|
||||
Loki::StrongPtr< T, S, OP, CP, KP, RP, DP, CNP >, bool >
|
||||
{
|
||||
bool operator () (
|
||||
const Loki::StrongPtr< T, S, OP, CP, KP, RP, DP, CNP > & lhs,
|
||||
const Loki::StrongPtr< T, S, OP, CP, KP, RP, DP, CNP > & rhs ) const
|
||||
{
|
||||
return ( lhs < rhs );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // end file guardian
|
||||
|
||||
/// specialization of std::less for StroeTracker@Private@Loki@@@std@@@std@@QBEXABV123@@Z |