Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:10:15

0001 //
0002 // Copyright (c) Chris Glover, 2016.
0003 //
0004 //
0005 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 
0009 #ifndef BOOST_TYPE_INDEX_RUNTIME_CAST_HPP
0010 #define BOOST_TYPE_INDEX_RUNTIME_CAST_HPP
0011 
0012 /// \file runtime_cast.hpp
0013 /// \brief Contains the basic utilities necessary to fully emulate
0014 /// dynamic_cast for language level constructs (raw pointers and references).
0015 ///
0016 /// boost::typeindex::runtime_cast is a drop in replacement for dynamic_cast
0017 /// that can be used in situations where traditional rtti is either unavailable
0018 /// or undesirable.
0019 
0020 #include <boost/type_index/runtime_cast/register_runtime_class.hpp>
0021 #include <boost/type_index/runtime_cast/pointer_cast.hpp>
0022 #include <boost/type_index/runtime_cast/reference_cast.hpp>
0023 
0024 #ifdef BOOST_HAS_PRAGMA_ONCE
0025 # pragma once
0026 #endif
0027 
0028 #endif // BOOST_TYPE_INDEX_RUNTIME_CAST_HPP