sl@0: #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED sl@0: #define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED sl@0: sl@0: // MS compatible compilers support #pragma once sl@0: sl@0: #if defined(_MSC_VER) && (_MSC_VER >= 1020) sl@0: # pragma once sl@0: #endif sl@0: sl@0: // sl@0: // bind/placeholders.hpp - _N definitions sl@0: // sl@0: // Copyright (c) 2002 Peter Dimov and Multi Media Ltd. sl@0: // sl@0: // Distributed under the Boost Software License, Version 1.0. (See sl@0: // accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: // sl@0: // See http://www.boost.org/libs/bind/bind.html for documentation. sl@0: // sl@0: sl@0: #include sl@0: #include sl@0: sl@0: namespace sl@0: { sl@0: sl@0: #if defined(__BORLANDC__) || defined(__GNUC__) sl@0: sl@0: static inline boost::arg<1> _1() { return boost::arg<1>(); } sl@0: static inline boost::arg<2> _2() { return boost::arg<2>(); } sl@0: static inline boost::arg<3> _3() { return boost::arg<3>(); } sl@0: static inline boost::arg<4> _4() { return boost::arg<4>(); } sl@0: static inline boost::arg<5> _5() { return boost::arg<5>(); } sl@0: static inline boost::arg<6> _6() { return boost::arg<6>(); } sl@0: static inline boost::arg<7> _7() { return boost::arg<7>(); } sl@0: static inline boost::arg<8> _8() { return boost::arg<8>(); } sl@0: static inline boost::arg<9> _9() { return boost::arg<9>(); } sl@0: sl@0: #elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) sl@0: sl@0: static boost::arg<1> _1; sl@0: static boost::arg<2> _2; sl@0: static boost::arg<3> _3; sl@0: static boost::arg<4> _4; sl@0: static boost::arg<5> _5; sl@0: static boost::arg<6> _6; sl@0: static boost::arg<7> _7; sl@0: static boost::arg<8> _8; sl@0: static boost::arg<9> _9; sl@0: sl@0: #else sl@0: sl@0: boost::arg<1> _1; sl@0: boost::arg<2> _2; sl@0: boost::arg<3> _3; sl@0: boost::arg<4> _4; sl@0: boost::arg<5> _5; sl@0: boost::arg<6> _6; sl@0: boost::arg<7> _7; sl@0: boost::arg<8> _8; sl@0: boost::arg<9> _9; sl@0: sl@0: #endif sl@0: sl@0: } // unnamed namespace sl@0: sl@0: #endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED