type_index_test_ctti_copy_fail.cpp 401 B

123456789101112131415
  1. //
  2. // Copyright 2012-2019 Antony Polukhin.
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. #include <boost/type_index/ctti_type_index.hpp>
  8. int main() {
  9. using namespace boost::typeindex;
  10. ctti_type_index::type_info_t t = ctti_type_index::type_id<int>().type_info();
  11. (void)t;
  12. }