1 #ifndef BOOST_SYSTEM_DETAIL_IS_SAME_HPP_INCLUDED 2 #define BOOST_SYSTEM_DETAIL_IS_SAME_HPP_INCLUDED 3 4 // Copyright 2021 Peter Dimov 5 // Distributed under the Boost Software License, Version 1.0 6 // http://www.boost.org/LICENSE_1_0.txt 7 8 namespace boost 9 { 10 11 namespace system 12 { 13 14 namespace detail 15 { 16 17 template<class T1, class T2> struct is_same 18 { 19 enum _vt { value = 0 }; 20 }; 21 22 template<class T> struct is_same<T, T> 23 { 24 enum _vt { value = 1 }; 25 }; 26 27 } // namespace detail 28 29 } // namespace system 30 31 } // namespace boost 32 33 #endif // #ifndef BOOST_SYSTEM_DETAIL_IS_SAME_HPP_INCLUDED 34