Sha256: ecf739b9b06545ebb0d691e8207cf7b70a5d42d7cb378d5d5502c0c96eefafc2

Contents?: true

Size: 1.09 KB

Versions: 28

Compression:

Stored size: 1.09 KB

Contents

#ifndef BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED
#define BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED

//  Copyright 2001 John Maddock.
//  Copyright 2017 Peter Dimov.
//
//  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
//
//  BOOST_STRINGIZE(X)
//  BOOST_JOIN(X, Y)
//
//  Note that this header is C compatible.

//
// Helper macro BOOST_STRINGIZE:
// Converts the parameter X to a string after macro replacement
// on X has been performed.
//
#define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
#define BOOST_DO_STRINGIZE(X) #X

//
// Helper macro BOOST_JOIN:
// The following piece of macro magic joins the two
// arguments together, even when one of the arguments is
// itself a macro (see 16.3.1 in C++ standard).  The key
// is that macro expansion of macro arguments does not
// occur in BOOST_DO_JOIN2 but does in BOOST_DO_JOIN.
//
#define BOOST_JOIN(X, Y) BOOST_DO_JOIN(X, Y)
#define BOOST_DO_JOIN(X, Y) BOOST_DO_JOIN2(X,Y)
#define BOOST_DO_JOIN2(X, Y) X##Y

#endif // BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
passenger-6.0.25 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/config/helper_macros.hpp