Sha256: 26fafabbb195b6a1fca2e674580689e57aa1de6b5a031fec8612744b3f5e771e

Contents?: true

Size: 1.02 KB

Versions: 14

Compression:

Stored size: 1.02 KB

Contents

// Copyright Daniel Wallin 2006.
// 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)

#ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_IS_NULLARY_HPP
#define BOOST_PARAMETER_AUX_PREPROCESSOR_IS_NULLARY_HPP

#include <boost/config.hpp>
#include <boost/config/workaround.hpp>

#if BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x564))
// From Paul Mensonides
#include <boost/preprocessor/punctuation/comma.hpp>
#include <boost/preprocessor/detail/split.hpp>
#define BOOST_PARAMETER_IS_NULLARY(x) \
    BOOST_PP_SPLIT(1, BOOST_PARAMETER_IS_NULLARY_C x BOOST_PP_COMMA() 0)
/**/
#include <boost/preprocessor/punctuation/paren.hpp>
#include <boost/preprocessor/tuple/eat.hpp>
#define BOOST_PARAMETER_IS_NULLARY_C() \
    ~, 1 BOOST_PP_RPAREN() \
    BOOST_PP_TUPLE_EAT(2) BOOST_PP_LPAREN() ~
/**/
#else
#include <boost/preprocessor/detail/is_nullary.hpp>
#define BOOST_PARAMETER_IS_NULLARY(x) BOOST_PP_IS_NULLARY(x)
/**/
#endif

#endif  // include guard

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp