Sha256: 29c7fc3b0de828e51776f0aa2b4f5a2299920e51aea0bf65b224720524286d79

Contents?: true

Size: 1.49 KB

Versions: 57

Compression:

Stored size: 1.49 KB

Contents

// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION

// Copyright Aleksey Gurtovoy 2002-2004
//
// 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)

// $Source$
// $Date: 2004-09-02 11:41:37 -0400 (Thu, 02 Sep 2004) $
// $Revision: 24874 $

#include <boost/type_traits/detail/template_arity_spec.hpp>
#include <boost/mpl/aux_/lambda_support.hpp>

#define BOOST_TT_AUX_TYPE_TRAIT_DEF1(trait,T,result) \
template< typename T > struct trait \
{ \
    typedef result type; \
    BOOST_MPL_AUX_LAMBDA_SUPPORT(1,trait,(T)) \
}; \
\
BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(1,trait) \
/**/

#define BOOST_TT_AUX_TYPE_TRAIT_SPEC1(trait,spec,result) \
template<> struct trait<spec> \
{ \
    typedef result type; \
    BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(1,trait,(spec)) \
}; \
/**/

#define BOOST_TT_AUX_TYPE_TRAIT_IMPL_SPEC1(trait,spec,result) \
template<> struct trait##_impl<spec> \
{ \
    typedef result type; \
}; \
/**/

#define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(param,trait,spec,result) \
template< param > struct trait<spec> \
{ \
    typedef result type; \
}; \
/**/

#define BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(param1,param2,trait,spec,result) \
template< param1, param2 > struct trait<spec> \
{ \
    typedef result; \
}; \
/**/

#define BOOST_TT_AUX_TYPE_TRAIT_IMPL_PARTIAL_SPEC1_1(param,trait,spec,result) \
template< param > struct trait##_impl<spec> \
{ \
    typedef result type; \
}; \
/**/

Version data entries

57 entries across 57 versions & 8 rubygems

Version Path
rockdog-passenger-0.0.1 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.21 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.19 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.18 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.17 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.15 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.14 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.13 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.12 ext/boost/type_traits/detail/type_trait_def.hpp
yspassenger-3.0.12 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.11 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.10 ext/boost/type_traits/detail/type_trait_def.hpp
vanity-1.7.1 vendor/ruby/1.9.1/gems/passenger-2.2.15/ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.9 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.8 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.7 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.6 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.5 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.4 ext/boost/type_traits/detail/type_trait_def.hpp
passenger-3.0.3 ext/boost/type_traits/detail/type_trait_def.hpp