1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/serialization/void_cast_fwd.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,43 @@
1.4 +#ifndef BOOST_SERIALIZATION_VOID_CAST_FWD_HPP
1.5 +#define BOOST_SERIALIZATION_VOID_CAST_FWD_HPP
1.6 +
1.7 +// MS compatible compilers support #pragma once
1.8 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
1.9 +# pragma once
1.10 +#endif
1.11 +
1.12 +/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
1.13 +// void_cast_fwd.hpp: interface for run-time casting of void pointers.
1.14 +
1.15 +// (C) Copyright 2005 Robert Ramey - http://www.rrsd.com .
1.16 +// Use, modification and distribution is subject to the Boost Software
1.17 +// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
1.18 +// http://www.boost.org/LICENSE_1_0.txt)
1.19 +// gennadiy.rozental@tfn.com
1.20 +
1.21 +// See http://www.boost.org for updates, documentation, and revision history.
1.22 +
1.23 +#include <boost/serialization/force_include.hpp>
1.24 +#include <boost/detail/workaround.hpp>
1.25 +
1.26 +namespace boost {
1.27 +namespace serialization {
1.28 +namespace void_cast_detail{
1.29 +class void_caster;
1.30 +} // namespace void_cast_detail
1.31 +
1.32 +template<class Derived, class Base>
1.33 +BOOST_DLLEXPORT
1.34 +// DMC doesn't allow export and inline, so supress the inline
1.35 +#if BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x849))
1.36 +#else
1.37 +inline
1.38 +#endif
1.39 +const void_cast_detail::void_caster & void_cast_register(
1.40 + const Derived * dnull = NULL,
1.41 + const Base * bnull = NULL
1.42 +) BOOST_USED;
1.43 +} // namespace serialization
1.44 +} // namespace boost
1.45 +
1.46 +#endif // BOOST_SERIALIZATION_VOID_CAST_HPP