00001 #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED 00002 #define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED 00003 00004 // MS compatible compilers support #pragma once 00005 00006 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 00007 # pragma once 00008 #endif 00009 00010 // 00011 // bind/placeholders.hpp - _N definitions 00012 // 00013 // Copyright (c) 2002 Peter Dimov and Multi Media Ltd. 00014 // 00015 // Distributed under the Boost Software License, Version 1.0. (See 00016 // accompanying file LICENSE_1_0.txt or copy at 00017 // http://www.boost.org/LICENSE_1_0.txt) 00018 // 00019 // See http://www.boost.org/libs/bind/bind.html for documentation. 00020 // 00021 00022 #include <sysc/packages/boost/bind/arg.hpp> 00023 #include <sysc/packages/boost/config.hpp> 00024 00025 namespace 00026 { 00027 00028 #if defined(__BORLANDC__) 00029 00030 static inline boost::arg<1> _1() { return boost::arg<1>(); } 00031 static inline boost::arg<2> _2() { return boost::arg<2>(); } 00032 static inline boost::arg<3> _3() { return boost::arg<3>(); } 00033 static inline boost::arg<4> _4() { return boost::arg<4>(); } 00034 static inline boost::arg<5> _5() { return boost::arg<5>(); } 00035 static inline boost::arg<6> _6() { return boost::arg<6>(); } 00036 static inline boost::arg<7> _7() { return boost::arg<7>(); } 00037 static inline boost::arg<8> _8() { return boost::arg<8>(); } 00038 static inline boost::arg<9> _9() { return boost::arg<9>(); } 00039 00040 #elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) 00041 00042 static boost::arg<1> _1; 00043 static boost::arg<2> _2; 00044 static boost::arg<3> _3; 00045 static boost::arg<4> _4; 00046 static boost::arg<5> _5; 00047 static boost::arg<6> _6; 00048 static boost::arg<7> _7; 00049 static boost::arg<8> _8; 00050 static boost::arg<9> _9; 00051 00052 #else 00053 00054 boost::arg<1> _1; 00055 boost::arg<2> _2; 00056 boost::arg<3> _3; 00057 boost::arg<4> _4; 00058 boost::arg<5> _5; 00059 boost::arg<6> _6; 00060 boost::arg<7> _7; 00061 boost::arg<8> _8; 00062 boost::arg<9> _9; 00063 00064 #endif 00065 00066 } // unnamed namespace 00067 00068 #endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
1.5.5