]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/include/ext/pb_assoc/detail/value_type_adapter/constructor_destructor_and_related.hpp
* typeck.c (build_modify_expr): Tidy diagnostic message.
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / pb_assoc / detail / value_type_adapter / constructor_destructor_and_related.hpp
1 // -*- C++ -*-
2
3 // Copyright (C) 2005 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 2, or (at your option)
9 // any later version.
10
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING. If not, write to the Free
18 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 // USA.
20
21 // As a special exception, you may use this file as part of a free software
22 // library without restriction. Specifically, if other files instantiate
23 // templates or use macros or inline functions from this file, or you compile
24 // this file and link it with other files to produce an executable, this
25 // file does not by itself cause the resulting executable to be covered by
26 // the GNU General Public License. This exception does not however
27 // invalidate any other reasons why the executable file might be covered by
28 // the GNU General Public License.
29
30 // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
31
32 // Permission to use, copy, modify, sell, and distribute this software
33 // is hereby granted without fee, provided that the above copyright
34 // notice appears in all copies, and that both that copyright notice and
35 // this permission notice appear in supporting documentation. None of
36 // the above authors, nor IBM Haifa Research Laboratories, make any
37 // representation about the suitability of this software for any
38 // purpose. It is provided "as is" without express or implied warranty.
39
40 /**
41 * @file constructor_destructor_and_related.hpp
42 * Contains an adapter of mapping levels.
43 */
44
45 PB_ASSOC_CLASS_T_DEC
46 inline
47 PB_ASSOC_CLASS_C_DEC::
48 value_type_adapter()
49 { }
50
51 PB_ASSOC_CLASS_T_DEC
52 template<typename T0>
53 inline
54 PB_ASSOC_CLASS_C_DEC::
55 value_type_adapter(T0 t0) :
56 my_base(t0)
57 { }
58
59 PB_ASSOC_CLASS_T_DEC
60 template<typename T0, typename T1>
61 inline
62 PB_ASSOC_CLASS_C_DEC::
63 value_type_adapter(T0 t0, T1 t1) :
64 my_base(t0, t1)
65 { }
66
67 PB_ASSOC_CLASS_T_DEC
68 template<typename T0, typename T1, typename T2>
69 inline
70 PB_ASSOC_CLASS_C_DEC::
71 value_type_adapter(T0 t0, T1 t1, T2 t2) :
72 my_base(t0, t1, t2)
73 { }
74
75 PB_ASSOC_CLASS_T_DEC
76 template<typename T0, typename T1, typename T2, typename T3>
77 inline
78 PB_ASSOC_CLASS_C_DEC::
79 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3) :
80 my_base(t0, t1, t2, t3)
81 { }
82
83 PB_ASSOC_CLASS_T_DEC
84 template<typename T0,
85 typename T1,
86 typename T2,
87 typename T3,
88 typename T4>
89 inline
90 PB_ASSOC_CLASS_C_DEC::
91 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) :
92 my_base(t0, t1, t2, t3, t4)
93 { }
94
95 PB_ASSOC_CLASS_T_DEC
96 template<typename T0,
97 typename T1,
98 typename T2,
99 typename T3,
100 typename T4,
101 typename T5>
102 inline
103 PB_ASSOC_CLASS_C_DEC::
104 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) :
105 my_base(t0,
106 t1,
107 t2,
108 t3,
109 t4,
110 t5)
111 { }
112
113 PB_ASSOC_CLASS_T_DEC
114 template<typename T0,
115 typename T1,
116 typename T2,
117 typename T3,
118 typename T4,
119 typename T5,
120 typename T6>
121 inline
122 PB_ASSOC_CLASS_C_DEC::
123 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6) :
124 my_base(t0,
125 t1,
126 t2,
127 t3,
128 t4,
129 t5,
130 t6)
131 { }
132
133 PB_ASSOC_CLASS_T_DEC
134 template<typename T0,
135 typename T1,
136 typename T2,
137 typename T3,
138 typename T4,
139 typename T5,
140 typename T6,
141 typename T7>
142 inline
143 PB_ASSOC_CLASS_C_DEC::
144 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) :
145 my_base(t0,
146 t1,
147 t2,
148 t3,
149 t4,
150 t5,
151 t6,
152 t7)
153 { }
154
155 PB_ASSOC_CLASS_T_DEC
156 template<typename T0,
157 typename T1,
158 typename T2,
159 typename T3,
160 typename T4,
161 typename T5,
162 typename T6,
163 typename T7,
164 typename T8>
165 inline
166 PB_ASSOC_CLASS_C_DEC::
167 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8) :
168 my_base(t0,
169 t1,
170 t2,
171 t3,
172 t4,
173 t5,
174 t6,
175 t7,
176 t8)
177 { }
178
179 PB_ASSOC_CLASS_T_DEC
180 PB_ASSOC_CLASS_C_DEC::
181 ~value_type_adapter()
182 { }
183