// // Copyright (c) Chris Glover, 2016. // // // 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) // #ifndef BOOST_TYPE_INDEX_RUNTIME_CAST_HPP #define BOOST_TYPE_INDEX_RUNTIME_CAST_HPP /// \file runtime_cast.hpp /// \brief Contains the basic utilities necessary to fully emulate /// dynamic_cast for language level constructs (raw pointers and references). /// /// boost::typeindex::runtime_cast is a drop in replacement for dynamic_cast /// that can be used in situations where traditional rtti is either unavailable /// or undesirable. #include #include #include #ifdef BOOST_HAS_PRAGMA_ONCE # pragma once #endif #endif // BOOST_TYPE_INDEX_RUNTIME_CAST_HPP