1 #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
2 #define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
9 // bind/placeholders.hpp - _N definitions
11 // Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
13 // Permission to copy, use, modify, sell and distribute this software
14 // is granted provided this copyright notice appears in all copies.
15 // This software is provided "as is" without express or implied
16 // warranty, and with no claim as to its suitability for any purpose.
18 // See http://www.boost.org/libs/bind/bind.html for documentation.
21 #include <boost/bind/arg.hpp>
22 #include <boost/config.hpp>
27 #if defined(__BORLANDC__)
29 static inline boost::arg<1> _1() { return boost::arg<1>(); }
30 static inline boost::arg<2> _2() { return boost::arg<2>(); }
31 static inline boost::arg<3> _3() { return boost::arg<3>(); }
32 static inline boost::arg<4> _4() { return boost::arg<4>(); }
33 static inline boost::arg<5> _5() { return boost::arg<5>(); }
34 static inline boost::arg<6> _6() { return boost::arg<6>(); }
35 static inline boost::arg<7> _7() { return boost::arg<7>(); }
36 static inline boost::arg<8> _8() { return boost::arg<8>(); }
37 static inline boost::arg<9> _9() { return boost::arg<9>(); }
39 #elif defined(BOOST_MSVC) && BOOST_MSVC <= 1300
41 static boost::arg<1> _1;
42 static boost::arg<2> _2;
43 static boost::arg<3> _3;
44 static boost::arg<4> _4;
45 static boost::arg<5> _5;
46 static boost::arg<6> _6;
47 static boost::arg<7> _7;
48 static boost::arg<8> _8;
49 static boost::arg<9> _9;
65 } // unnamed namespace
67 #endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED