epoc32/include/stdapis/boost/bind/placeholders.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
     2 #define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
     3 
     4 // MS compatible compilers support #pragma once
     5 
     6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
     7 # pragma once
     8 #endif
     9 
    10 //
    11 //  bind/placeholders.hpp - _N definitions
    12 //
    13 //  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
    14 //
    15 // Distributed under the Boost Software License, Version 1.0. (See
    16 // accompanying file LICENSE_1_0.txt or copy at
    17 // http://www.boost.org/LICENSE_1_0.txt)
    18 //
    19 //  See http://www.boost.org/libs/bind/bind.html for documentation.
    20 //
    21 
    22 #include <boost/bind/arg.hpp>
    23 #include <boost/config.hpp>
    24 
    25 namespace
    26 {
    27 
    28 #if defined(__BORLANDC__) || defined(__GNUC__)
    29 
    30 static inline boost::arg<1> _1() { return boost::arg<1>(); }
    31 static inline boost::arg<2> _2() { return boost::arg<2>(); }
    32 static inline boost::arg<3> _3() { return boost::arg<3>(); }
    33 static inline boost::arg<4> _4() { return boost::arg<4>(); }
    34 static inline boost::arg<5> _5() { return boost::arg<5>(); }
    35 static inline boost::arg<6> _6() { return boost::arg<6>(); }
    36 static inline boost::arg<7> _7() { return boost::arg<7>(); }
    37 static inline boost::arg<8> _8() { return boost::arg<8>(); }
    38 static inline boost::arg<9> _9() { return boost::arg<9>(); }
    39 
    40 #elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__)
    41 
    42 static boost::arg<1> _1;
    43 static boost::arg<2> _2;
    44 static boost::arg<3> _3;
    45 static boost::arg<4> _4;
    46 static boost::arg<5> _5;
    47 static boost::arg<6> _6;
    48 static boost::arg<7> _7;
    49 static boost::arg<8> _8;
    50 static boost::arg<9> _9;
    51 
    52 #else
    53 
    54 boost::arg<1> _1;
    55 boost::arg<2> _2;
    56 boost::arg<3> _3;
    57 boost::arg<4> _4;
    58 boost::arg<5> _5;
    59 boost::arg<6> _6;
    60 boost::arg<7> _7;
    61 boost::arg<8> _8;
    62 boost::arg<9> _9;
    63 
    64 #endif
    65 
    66 } // unnamed namespace
    67 
    68 #endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED