Sha256: 423544774628ad6d119e7611eb8e016b85e3a92d38cd2672e7daf59171e19500

Contents?: true

Size: 1.85 KB

Versions: 108

Compression:

Stored size: 1.85 KB

Contents

#ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
#define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED

// MS compatible compilers support #pragma once

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif

//
//  bind/placeholders.hpp - _N definitions
//
//  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//  See http://www.boost.org/libs/bind/bind.html for documentation.
//

#include <boost/bind/arg.hpp>
#include <boost/config.hpp>

namespace
{

#if defined(__BORLANDC__) || defined(__GNUC__) && (__GNUC__ < 4)

static inline boost::arg<1> _1() { return boost::arg<1>(); }
static inline boost::arg<2> _2() { return boost::arg<2>(); }
static inline boost::arg<3> _3() { return boost::arg<3>(); }
static inline boost::arg<4> _4() { return boost::arg<4>(); }
static inline boost::arg<5> _5() { return boost::arg<5>(); }
static inline boost::arg<6> _6() { return boost::arg<6>(); }
static inline boost::arg<7> _7() { return boost::arg<7>(); }
static inline boost::arg<8> _8() { return boost::arg<8>(); }
static inline boost::arg<9> _9() { return boost::arg<9>(); }

#elif defined(BOOST_MSVC) || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) || defined(__MWERKS__) || \
    defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ < 2)  

static boost::arg<1> _1;
static boost::arg<2> _2;
static boost::arg<3> _3;
static boost::arg<4> _4;
static boost::arg<5> _5;
static boost::arg<6> _6;
static boost::arg<7> _7;
static boost::arg<8> _8;
static boost::arg<9> _9;

#else

boost::arg<1> _1;
boost::arg<2> _2;
boost::arg<3> _3;
boost::arg<4> _4;
boost::arg<5> _5;
boost::arg<6> _6;
boost::arg<7> _7;
boost::arg<8> _8;
boost::arg<9> _9;

#endif

} // unnamed namespace

#endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED

Version data entries

108 entries across 108 versions & 5 rubygems

Version Path
passenger-5.0.24 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-5.0.23 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-5.0.22 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-4.0.60 ext/boost/bind/placeholders.hpp
passenger-5.0.21 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-5.0.20 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-5.0.19 src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp
passenger-5.0.18 ext/boost/bind/placeholders.hpp
passenger-5.0.17 ext/boost/bind/placeholders.hpp
passenger-5.0.16 ext/boost/bind/placeholders.hpp
passenger-5.0.15 ext/boost/bind/placeholders.hpp
passenger-5.0.14 ext/boost/bind/placeholders.hpp
passenger-5.0.13 ext/boost/bind/placeholders.hpp
passenger-5.0.11 ext/boost/bind/placeholders.hpp
passenger-5.0.10 ext/boost/bind/placeholders.hpp
passenger-5.0.9 ext/boost/bind/placeholders.hpp
passenger-5.0.8 ext/boost/bind/placeholders.hpp
buncher-1.0.5 ext/boost/1.57.0/include/boost//bind/placeholders.hpp
passenger-5.0.7 ext/boost/bind/placeholders.hpp
passenger-5.0.6 ext/boost/bind/placeholders.hpp