~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/mpl/aux_/preprocessed/plain/quote.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// preprocessed version of 'boost/mpl/quote.hpp' header
 
2
// see the original for copyright information
 
3
 
 
4
namespace boost {
 
5
namespace mpl {
 
6
 
 
7
template< typename T, bool has_type_ = aux::has_type<T>::value >
 
8
struct quote_impl
 
9
 
 
10
    : T
 
11
{
 
12
};
 
13
 
 
14
template< typename T >
 
15
struct quote_impl< T,false >
 
16
{
 
17
    typedef T type;
 
18
};
 
19
 
 
20
template<
 
21
      template< typename P1 > class F
 
22
    >
 
23
struct quote1
 
24
{
 
25
    template< typename U1 > struct apply
 
26
 
 
27
        : quote_impl< F<U1> >
 
28
 
 
29
    {
 
30
    };
 
31
};
 
32
 
 
33
template<
 
34
      template< typename P1, typename P2 > class F
 
35
    >
 
36
struct quote2
 
37
{
 
38
    template< typename U1, typename U2 > struct apply
 
39
 
 
40
        : quote_impl< F<U1,U2> >
 
41
 
 
42
    {
 
43
    };
 
44
};
 
45
 
 
46
template<
 
47
      template< typename P1, typename P2, typename P3 > class F
 
48
    >
 
49
struct quote3
 
50
{
 
51
    template< typename U1, typename U2, typename U3 > struct apply
 
52
 
 
53
        : quote_impl< F<U1,U2,U3> >
 
54
 
 
55
    {
 
56
    };
 
57
};
 
58
 
 
59
template<
 
60
      template< typename P1, typename P2, typename P3, typename P4 > class F
 
61
    >
 
62
struct quote4
 
63
{
 
64
    template<
 
65
          typename U1, typename U2, typename U3, typename U4
 
66
        >
 
67
    struct apply
 
68
 
 
69
        : quote_impl< F<U1,U2,U3,U4> >
 
70
 
 
71
    {
 
72
    };
 
73
};
 
74
 
 
75
template<
 
76
      template<
 
77
          typename P1, typename P2, typename P3, typename P4
 
78
        , typename P5
 
79
        >
 
80
      class F
 
81
    >
 
82
struct quote5
 
83
{
 
84
    template<
 
85
          typename U1, typename U2, typename U3, typename U4
 
86
        , typename U5
 
87
        >
 
88
    struct apply
 
89
 
 
90
        : quote_impl< F<U1,U2,U3,U4,U5> >
 
91
 
 
92
    {
 
93
    };
 
94
};
 
95
 
 
96
} // namespace mpl
 
97
} // namespace boost
 
98