is_same.hpp 682 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef BHO_CORE_IS_SAME_HPP_INCLUDED
  2. #define BHO_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 <asio2/bho/config.hpp>
  11. #include <asio2/bho/core/detail/is_same.hpp>
  12. #if defined(BHO_HAS_PRAGMA_ONCE)
  13. # pragma once
  14. #endif
  15. #include <asio2/bho/config/header_deprecated.hpp>
  16. #include <type_traits>
  17. namespace bho
  18. {
  19. namespace core
  20. {
  21. using bho::core::detail::is_same;
  22. } // namespace core
  23. } // namespace bho
  24. #endif // #ifndef BHO_CORE_IS_SAME_HPP_INCLUDED