Files
boost_mpl/include/boost/mpl/aux_/preprocessed/plain/quote.hpp
T

103 lines
1.6 KiB
C++
Raw Normal View History

2003-08-04 02:21:00 +00:00
// preprocessed version of 'boost/mpl/quote.hpp' header
2002-09-15 22:13:24 +00:00
// see the original for copyright information
namespace boost {
namespace mpl {
2002-12-17 10:42:05 +00:00
template< typename T, bool has_type_ = aux::has_type<T>::value >
struct quote_impl
: T
{
};
template< typename T >
struct quote_impl< T,false >
{
typedef T type;
};
2002-09-15 22:13:24 +00:00
template<
template< typename P1 > class F
2003-08-04 02:03:46 +00:00
, typename Tag = void_
2002-09-15 22:13:24 +00:00
>
2002-12-17 10:42:05 +00:00
struct quote1
2002-09-15 22:13:24 +00:00
{
template< typename U1 > struct apply
2002-12-17 10:42:05 +00:00
: quote_impl< F<U1> >
2002-09-15 22:13:24 +00:00
{
};
};
template<
template< typename P1, typename P2 > class F
2003-08-04 02:03:46 +00:00
, typename Tag = void_
2002-09-15 22:13:24 +00:00
>
2002-12-17 10:42:05 +00:00
struct quote2
2002-09-15 22:13:24 +00:00
{
template< typename U1, typename U2 > struct apply
2002-12-17 10:42:05 +00:00
: quote_impl< F<U1,U2> >
2002-09-15 22:13:24 +00:00
{
};
};
template<
template< typename P1, typename P2, typename P3 > class F
2003-08-04 02:03:46 +00:00
, typename Tag = void_
2002-09-15 22:13:24 +00:00
>
2002-12-17 10:42:05 +00:00
struct quote3
2002-09-15 22:13:24 +00:00
{
template< typename U1, typename U2, typename U3 > struct apply
2002-12-17 10:42:05 +00:00
: quote_impl< F<U1,U2,U3> >
2002-09-15 22:13:24 +00:00
{
};
};
template<
template< typename P1, typename P2, typename P3, typename P4 > class F
2003-08-04 02:03:46 +00:00
, typename Tag = void_
2002-09-15 22:13:24 +00:00
>
2002-12-17 10:42:05 +00:00
struct quote4
2002-09-15 22:13:24 +00:00
{
template<
typename U1, typename U2, typename U3, typename U4
>
struct apply
2002-12-17 10:42:05 +00:00
: quote_impl< F<U1,U2,U3,U4> >
2002-09-15 22:13:24 +00:00
{
};
};
template<
template<
typename P1, typename P2, typename P3, typename P4
, typename P5
>
class F
2003-08-04 02:03:46 +00:00
, typename Tag = void_
2002-09-15 22:13:24 +00:00
>
2002-12-17 10:42:05 +00:00
struct quote5
2002-09-15 22:13:24 +00:00
{
template<
typename U1, typename U2, typename U3, typename U4
, typename U5
>
struct apply
2002-12-17 10:42:05 +00:00
: quote_impl< F<U1,U2,U3,U4,U5> >
2002-09-15 22:13:24 +00:00
{
};
};
} // namespace mpl
} // namespace boost