lib_typeid.cpp 353 B

1234567891011121314151617
  1. // Copyright 2018 Peter Dimov.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. #include <boost/core/typeinfo.hpp>
  4. #include <boost/config.hpp>
  5. #if defined(LIB_TYPEID_DYN_LINK)
  6. # define EXPORT BOOST_SYMBOL_EXPORT
  7. #else
  8. # define EXPORT
  9. #endif
  10. EXPORT boost::core::typeinfo const & get_typeid_int()
  11. {
  12. return BOOST_CORE_TYPEID( int );
  13. }