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