1 #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED
2 #define BOOST_CORE_IS_SAME_HPP_INCLUDED
4 // MS compatible compilers support #pragma once
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
10 // is_same<T1,T2>::value is true when T1 == T2
12 // Copyright 2014 Peter Dimov
14 // Distributed under the Boost Software License, Version 1.0.
15 // See accompanying file LICENSE_1_0.txt or copy at
16 // http://www.boost.org/LICENSE_1_0.txt
18 #include <boost/config.hpp>
26 template< class T1, class T2 > struct is_same
28 BOOST_STATIC_CONSTANT( bool, value = false );
31 template< class T > struct is_same< T, T >
33 BOOST_STATIC_CONSTANT( bool, value = true );
40 #endif // #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED