os/ossrv/ossrv_pub/boost_apis/boost/bind/placeholders.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/bind/placeholders.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,68 @@
     1.4 +#ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
     1.5 +#define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
     1.6 +
     1.7 +// MS compatible compilers support #pragma once
     1.8 +
     1.9 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
    1.10 +# pragma once
    1.11 +#endif
    1.12 +
    1.13 +//
    1.14 +//  bind/placeholders.hpp - _N definitions
    1.15 +//
    1.16 +//  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
    1.17 +//
    1.18 +// Distributed under the Boost Software License, Version 1.0. (See
    1.19 +// accompanying file LICENSE_1_0.txt or copy at
    1.20 +// http://www.boost.org/LICENSE_1_0.txt)
    1.21 +//
    1.22 +//  See http://www.boost.org/libs/bind/bind.html for documentation.
    1.23 +//
    1.24 +
    1.25 +#include <boost/bind/arg.hpp>
    1.26 +#include <boost/config.hpp>
    1.27 +
    1.28 +namespace
    1.29 +{
    1.30 +
    1.31 +#if defined(__BORLANDC__) || defined(__GNUC__)
    1.32 +
    1.33 +static inline boost::arg<1> _1() { return boost::arg<1>(); }
    1.34 +static inline boost::arg<2> _2() { return boost::arg<2>(); }
    1.35 +static inline boost::arg<3> _3() { return boost::arg<3>(); }
    1.36 +static inline boost::arg<4> _4() { return boost::arg<4>(); }
    1.37 +static inline boost::arg<5> _5() { return boost::arg<5>(); }
    1.38 +static inline boost::arg<6> _6() { return boost::arg<6>(); }
    1.39 +static inline boost::arg<7> _7() { return boost::arg<7>(); }
    1.40 +static inline boost::arg<8> _8() { return boost::arg<8>(); }
    1.41 +static inline boost::arg<9> _9() { return boost::arg<9>(); }
    1.42 +
    1.43 +#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__)
    1.44 +
    1.45 +static boost::arg<1> _1;
    1.46 +static boost::arg<2> _2;
    1.47 +static boost::arg<3> _3;
    1.48 +static boost::arg<4> _4;
    1.49 +static boost::arg<5> _5;
    1.50 +static boost::arg<6> _6;
    1.51 +static boost::arg<7> _7;
    1.52 +static boost::arg<8> _8;
    1.53 +static boost::arg<9> _9;
    1.54 +
    1.55 +#else
    1.56 +
    1.57 +boost::arg<1> _1;
    1.58 +boost::arg<2> _2;
    1.59 +boost::arg<3> _3;
    1.60 +boost::arg<4> _4;
    1.61 +boost::arg<5> _5;
    1.62 +boost::arg<6> _6;
    1.63 +boost::arg<7> _7;
    1.64 +boost::arg<8> _8;
    1.65 +boost::arg<9> _9;
    1.66 +
    1.67 +#endif
    1.68 +
    1.69 +} // unnamed namespace
    1.70 +
    1.71 +#endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED