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