Chris@16: #ifndef BOOST_SERIALIZATION_VOID_CAST_FWD_HPP Chris@16: #define BOOST_SERIALIZATION_VOID_CAST_FWD_HPP Chris@16: Chris@16: // MS compatible compilers support #pragma once Chris@101: #if defined(_MSC_VER) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 Chris@16: // void_cast_fwd.hpp: interface for run-time casting of void pointers. Chris@16: Chris@16: // (C) Copyright 2005 Robert Ramey - http://www.rrsd.com . Chris@16: // Use, modification and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // gennadiy.rozental@tfn.com Chris@16: Chris@16: // See http://www.boost.org for updates, documentation, and revision history. Chris@16: Chris@16: #include // NULL Chris@16: #include Chris@16: Chris@16: namespace boost { Chris@16: namespace serialization { Chris@16: namespace void_cast_detail{ Chris@16: class void_caster; Chris@16: } // namespace void_cast_detail Chris@16: template Chris@16: BOOST_DLLEXPORT Chris@16: inline const void_cast_detail::void_caster & void_cast_register( Chris@16: const Derived * dnull = NULL, Chris@16: const Base * bnull = NULL Chris@16: ) BOOST_USED; Chris@16: } // namespace serialization Chris@16: } // namespace boost Chris@16: Chris@16: #endif // BOOST_SERIALIZATION_VOID_CAST_HPP