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