Import a stripped down version of gcc-4.1.1
[dragonfly.git] / contrib / gcc-4.1 / libstdc++-v3 / include / ext / pb_assoc / detail / basic_assoc_cntnr / constructor_destructor_fn_imps.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_fn_imps.hpp
42  * Contains implementations of constructors, destructors,
43  *      and related functions.
44  */
45
46 PB_ASSOC_CLASS_T_DEC
47 inline
48 PB_ASSOC_CLASS_C_DEC::
49 basic_assoc_cntnr()
50 { }
51
52 PB_ASSOC_CLASS_T_DEC
53 template<typename T0>
54 inline
55 PB_ASSOC_CLASS_C_DEC::
56 basic_assoc_cntnr(T0 t0) :
57   PB_ASSOC_DIRECT_BASE_C_DEC(t0)
58 { }
59
60 PB_ASSOC_CLASS_T_DEC
61 template<typename T0, typename T1>
62 inline
63 PB_ASSOC_CLASS_C_DEC::
64 basic_assoc_cntnr(T0 t0, T1 t1) :
65   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1)
66 { }
67
68 PB_ASSOC_CLASS_T_DEC
69 template<typename T0, typename T1, typename T2>
70 inline
71 PB_ASSOC_CLASS_C_DEC::
72 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2) :
73   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2)
74 { }
75
76 PB_ASSOC_CLASS_T_DEC
77 template<typename T0, typename T1, typename T2, typename T3>
78 inline
79 PB_ASSOC_CLASS_C_DEC::
80 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3) :
81   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3)
82 { }
83
84 PB_ASSOC_CLASS_T_DEC
85 template<typename T0,
86          typename T1,
87          typename T2,
88          typename T3,
89          typename T4>
90 inline
91 PB_ASSOC_CLASS_C_DEC::
92 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) :
93   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3, t4)
94 { }
95
96 PB_ASSOC_CLASS_T_DEC
97 template<typename T0,
98          typename T1,
99          typename T2,
100          typename T3,
101          typename T4,
102          typename T5>
103 inline
104 PB_ASSOC_CLASS_C_DEC::
105 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) :
106   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3, t4, t5)
107 { }
108
109 PB_ASSOC_CLASS_T_DEC
110 template<typename T0,
111          typename T1,
112          typename T2,
113          typename T3,
114          typename T4,
115          typename T5,
116          typename T6>
117 inline
118 PB_ASSOC_CLASS_C_DEC::
119 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6) :
120   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3, t4, t5, t6)
121 { }
122
123 PB_ASSOC_CLASS_T_DEC
124 template<typename T0,
125          typename T1,
126          typename T2,
127          typename T3,
128          typename T4,
129          typename T5,
130          typename T6,
131          typename T7>
132 inline
133 PB_ASSOC_CLASS_C_DEC::
134 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) :
135   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3, t4, t5, t6, t7)
136 { }
137
138 PB_ASSOC_CLASS_T_DEC
139 template<typename T0,
140          typename T1,
141          typename T2,
142          typename T3,
143          typename T4,
144          typename T5,
145          typename T6,
146          typename T7,
147          typename T8>
148 inline
149 PB_ASSOC_CLASS_C_DEC::
150 basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8) :
151   PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3, t4, t5, t6, t7, t8)
152 { }
153
154 PB_ASSOC_CLASS_T_DEC
155 inline
156 PB_ASSOC_CLASS_C_DEC::
157 basic_assoc_cntnr(const PB_ASSOC_CLASS_C_DEC& r_other) :
158   PB_ASSOC_DIRECT_BASE_C_DEC((const PB_ASSOC_DIRECT_BASE_C_DEC& )r_other)
159 { }
160
161 PB_ASSOC_CLASS_T_DEC
162 PB_ASSOC_CLASS_C_DEC::
163 ~basic_assoc_cntnr()
164 { }