Sha256: b1a2870d0f101783741c0f55e5a86a294c55c2c7fbdba8a1666b0040fa575972

Contents?: true

Size: 1.44 KB

Versions: 54

Compression:

Stored size: 1.44 KB

Contents

// Copyright (C) 2005 Arkadiy Vertleyb
// 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_TYPEOF_TYPE_TEMPLATE_PARAM_HPP_INCLUDED
#define BOOST_TYPEOF_TYPE_TEMPLATE_PARAM_HPP_INCLUDED

#define BOOST_TYPEOF_class_BOOST_TYPEOF (class)
#define BOOST_TYPEOF_typename_BOOST_TYPEOF (typename)

#define BOOST_TYPEOF_MAKE_OBJ_class BOOST_TYPEOF_TYPE_PARAM
#define BOOST_TYPEOF_MAKE_OBJ_typename BOOST_TYPEOF_TYPE_PARAM

#define BOOST_TYPEOF_TYPE_PARAM\
    (TYPE_PARAM)

#define BOOST_TYPEOF_TYPE_PARAM_EXPANDTYPE(Param) class

// TYPE_PARAM "virtual functions" implementation

#define BOOST_TYPEOF_TYPE_PARAM_ENCODE(This, n)\
    typedef typename boost::type_of::encode_type<\
        BOOST_PP_CAT(V, n),\
        BOOST_PP_CAT(P, n)\
    >::type BOOST_PP_CAT(V, BOOST_PP_INC(n)); 

#define BOOST_TYPEOF_TYPE_PARAM_DECODE(This, n)\
    typedef boost::type_of::decode_type< BOOST_PP_CAT(iter, n) > BOOST_PP_CAT(d, n);\
    typedef typename BOOST_PP_CAT(d, n)::type BOOST_PP_CAT(P, n);\
    typedef typename BOOST_PP_CAT(d, n)::iter BOOST_PP_CAT(iter, BOOST_PP_INC(n));

#define BOOST_TYPEOF_TYPE_PARAM_PLACEHOLDER(Param) int
#define BOOST_TYPEOF_TYPE_PARAM_DECLARATION_TYPE(Param) class
#define BOOST_TYPEOF_TYPE_PARAM_PLACEHOLDER_TYPES(Param, n) BOOST_PP_CAT(T,n)
#define BOOST_TYPEOF_TYPE_PARAM_ISTEMPLATE 0

#endif//BOOST_TYPEOF_TYPE_TEMPLATE_PARAM_HPP_INCLUDED

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp