Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/serialization/void_cast_fwd.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 #ifndef BOOST_SERIALIZATION_VOID_CAST_FWD_HPP |
Chris@16 | 2 #define BOOST_SERIALIZATION_VOID_CAST_FWD_HPP |
Chris@16 | 3 |
Chris@16 | 4 // MS compatible compilers support #pragma once |
Chris@101 | 5 #if defined(_MSC_VER) |
Chris@16 | 6 # pragma once |
Chris@16 | 7 #endif |
Chris@16 | 8 |
Chris@16 | 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
Chris@16 | 10 // void_cast_fwd.hpp: interface for run-time casting of void pointers. |
Chris@16 | 11 |
Chris@16 | 12 // (C) Copyright 2005 Robert Ramey - http://www.rrsd.com . |
Chris@16 | 13 // Use, modification and distribution is subject to the Boost Software |
Chris@16 | 14 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 15 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 16 // gennadiy.rozental@tfn.com |
Chris@16 | 17 |
Chris@16 | 18 // See http://www.boost.org for updates, documentation, and revision history. |
Chris@16 | 19 |
Chris@16 | 20 #include <cstddef> // NULL |
Chris@16 | 21 #include <boost/serialization/force_include.hpp> |
Chris@16 | 22 |
Chris@16 | 23 namespace boost { |
Chris@16 | 24 namespace serialization { |
Chris@16 | 25 namespace void_cast_detail{ |
Chris@16 | 26 class void_caster; |
Chris@16 | 27 } // namespace void_cast_detail |
Chris@16 | 28 template<class Derived, class Base> |
Chris@16 | 29 BOOST_DLLEXPORT |
Chris@16 | 30 inline const void_cast_detail::void_caster & void_cast_register( |
Chris@16 | 31 const Derived * dnull = NULL, |
Chris@16 | 32 const Base * bnull = NULL |
Chris@16 | 33 ) BOOST_USED; |
Chris@16 | 34 } // namespace serialization |
Chris@16 | 35 } // namespace boost |
Chris@16 | 36 |
Chris@16 | 37 #endif // BOOST_SERIALIZATION_VOID_CAST_HPP |