//
-// Copyright (c) Antony Polukhin, 2012-2015.
+// Copyright (c) Antony Polukhin, 2012-2018.
//
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
return boost::typeindex::type_id_with_cvr<const user_defined_namespace::user_defined>();
}
-#ifndef BOOST_HAS_PRAGMA_DETECT_MISMATCH
+#if !defined(BOOST_HAS_PRAGMA_DETECT_MISMATCH) || !defined(_CPPRTTI)
// Just do nothing
void accept_typeindex(const boost::typeindex::type_index&) {}
#endif