sl@0
|
1 |
#ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
|
sl@0
|
2 |
#define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
|
sl@0
|
3 |
|
sl@0
|
4 |
// MS compatible compilers support #pragma once
|
sl@0
|
5 |
|
sl@0
|
6 |
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
sl@0
|
7 |
# pragma once
|
sl@0
|
8 |
#endif
|
sl@0
|
9 |
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// bind/placeholders.hpp - _N definitions
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
|
sl@0
|
14 |
//
|
sl@0
|
15 |
// Distributed under the Boost Software License, Version 1.0. (See
|
sl@0
|
16 |
// accompanying file LICENSE_1_0.txt or copy at
|
sl@0
|
17 |
// http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
18 |
//
|
sl@0
|
19 |
// See http://www.boost.org/libs/bind/bind.html for documentation.
|
sl@0
|
20 |
//
|
sl@0
|
21 |
|
sl@0
|
22 |
#include <boost/bind/arg.hpp>
|
sl@0
|
23 |
#include <boost/config.hpp>
|
sl@0
|
24 |
|
sl@0
|
25 |
namespace
|
sl@0
|
26 |
{
|
sl@0
|
27 |
|
sl@0
|
28 |
#if defined(__BORLANDC__) || defined(__GNUC__)
|
sl@0
|
29 |
|
sl@0
|
30 |
static inline boost::arg<1> _1() { return boost::arg<1>(); }
|
sl@0
|
31 |
static inline boost::arg<2> _2() { return boost::arg<2>(); }
|
sl@0
|
32 |
static inline boost::arg<3> _3() { return boost::arg<3>(); }
|
sl@0
|
33 |
static inline boost::arg<4> _4() { return boost::arg<4>(); }
|
sl@0
|
34 |
static inline boost::arg<5> _5() { return boost::arg<5>(); }
|
sl@0
|
35 |
static inline boost::arg<6> _6() { return boost::arg<6>(); }
|
sl@0
|
36 |
static inline boost::arg<7> _7() { return boost::arg<7>(); }
|
sl@0
|
37 |
static inline boost::arg<8> _8() { return boost::arg<8>(); }
|
sl@0
|
38 |
static inline boost::arg<9> _9() { return boost::arg<9>(); }
|
sl@0
|
39 |
|
sl@0
|
40 |
#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__)
|
sl@0
|
41 |
|
sl@0
|
42 |
static boost::arg<1> _1;
|
sl@0
|
43 |
static boost::arg<2> _2;
|
sl@0
|
44 |
static boost::arg<3> _3;
|
sl@0
|
45 |
static boost::arg<4> _4;
|
sl@0
|
46 |
static boost::arg<5> _5;
|
sl@0
|
47 |
static boost::arg<6> _6;
|
sl@0
|
48 |
static boost::arg<7> _7;
|
sl@0
|
49 |
static boost::arg<8> _8;
|
sl@0
|
50 |
static boost::arg<9> _9;
|
sl@0
|
51 |
|
sl@0
|
52 |
#else
|
sl@0
|
53 |
|
sl@0
|
54 |
boost::arg<1> _1;
|
sl@0
|
55 |
boost::arg<2> _2;
|
sl@0
|
56 |
boost::arg<3> _3;
|
sl@0
|
57 |
boost::arg<4> _4;
|
sl@0
|
58 |
boost::arg<5> _5;
|
sl@0
|
59 |
boost::arg<6> _6;
|
sl@0
|
60 |
boost::arg<7> _7;
|
sl@0
|
61 |
boost::arg<8> _8;
|
sl@0
|
62 |
boost::arg<9> _9;
|
sl@0
|
63 |
|
sl@0
|
64 |
#endif
|
sl@0
|
65 |
|
sl@0
|
66 |
} // unnamed namespace
|
sl@0
|
67 |
|
sl@0
|
68 |
#endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
|