File indexing completed on 2025-12-16 10:08:51
0001 #ifndef BOOST_SMART_PTR_OWNER_LESS_HPP_INCLUDED
0002 #define BOOST_SMART_PTR_OWNER_LESS_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 namespace boost
0018 {
0019
0020 template<class T = void> struct owner_less
0021 {
0022 typedef bool result_type;
0023 typedef T first_argument_type;
0024 typedef T second_argument_type;
0025
0026 template<class U, class V> bool operator()( U const & u, V const & v ) const noexcept
0027 {
0028 return u.owner_before( v );
0029 }
0030 };
0031
0032 }
0033
0034 #endif