Project revived from Feb2017
[EroSomnia.git] / deps / boost_1_63_0 / boost / core / is_same.hpp
blobf373c654d5e226afdc5b3a47b1f34e5aa5a6d5fb
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)
7 # pragma once
8 #endif
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>
20 namespace boost
23 namespace core
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 );
36 } // namespace core
38 } // namespace boost
40 #endif // #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED