is_same.hpp 720 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED
  2. #define BOOST_CORE_IS_SAME_HPP_INCLUDED
  3. // is_same<T1,T2>::value is true when T1 == T2
  4. //
  5. // Copyright 2014 Peter Dimov
  6. //
  7. // Distributed under the Boost Software License, Version 1.0.
  8. // See accompanying file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt
  10. #include <boost/config.hpp>
  11. #include <boost/core/detail/is_same.hpp>
  12. #if defined(BOOST_HAS_PRAGMA_ONCE)
  13. # pragma once
  14. #endif
  15. #include <boost/config/header_deprecated.hpp>
  16. BOOST_HEADER_DEPRECATED("<boost/type_traits/is_same.hpp>")
  17. namespace boost
  18. {
  19. namespace core
  20. {
  21. using boost::core::detail::is_same;
  22. } // namespace core
  23. } // namespace boost
  24. #endif // #ifndef BOOST_CORE_IS_SAME_HPP_INCLUDED