sp_typeinfo.hpp 857 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED
  2. #define BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. // detail/sp_typeinfo.hpp
  8. //
  9. // Deprecated, please use boost/core/typeinfo.hpp
  10. //
  11. // Copyright 2007 Peter Dimov
  12. //
  13. // Distributed under the Boost Software License, Version 1.0.
  14. // See accompanying file LICENSE_1_0.txt or copy at
  15. // http://www.boost.org/LICENSE_1_0.txt)
  16. #include <boost/core/typeinfo.hpp>
  17. #include <boost/config/header_deprecated.hpp>
  18. BOOST_HEADER_DEPRECATED( "<boost/core/typeinfo.hpp>" )
  19. namespace boost
  20. {
  21. namespace detail
  22. {
  23. typedef boost::core::typeinfo sp_typeinfo;
  24. } // namespace detail
  25. } // namespace boost
  26. #define BOOST_SP_TYPEID(T) BOOST_CORE_TYPEID(T)
  27. #endif // #ifndef BOOST_DETAIL_SP_TYPEINFO_HPP_INCLUDED