// // Copyright Antony Polukhin, 2018. // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include #include #include class empty { }; int main() { std::string name = boost::typeindex::ctti_type_index::type_id().pretty_name(); BOOST_TEST(name.find("empty") != std::string::npos); return boost::report_errors(); }