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 46PB_ASSOC_CLASS_T_DEC 47inline 48PB_ASSOC_CLASS_C_DEC:: 49basic_assoc_cntnr() 50{ } 51 52PB_ASSOC_CLASS_T_DEC 53template<typename T0> 54inline 55PB_ASSOC_CLASS_C_DEC:: 56basic_assoc_cntnr(T0 t0) : 57 PB_ASSOC_DIRECT_BASE_C_DEC(t0) 58{ } 59 60PB_ASSOC_CLASS_T_DEC 61template<typename T0, typename T1> 62inline 63PB_ASSOC_CLASS_C_DEC:: 64basic_assoc_cntnr(T0 t0, T1 t1) : 65 PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1) 66{ } 67 68PB_ASSOC_CLASS_T_DEC 69template<typename T0, typename T1, typename T2> 70inline 71PB_ASSOC_CLASS_C_DEC:: 72basic_assoc_cntnr(T0 t0, T1 t1, T2 t2) : 73 PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2) 74{ } 75 76PB_ASSOC_CLASS_T_DEC 77template<typename T0, typename T1, typename T2, typename T3> 78inline 79PB_ASSOC_CLASS_C_DEC:: 80basic_assoc_cntnr(T0 t0, T1 t1, T2 t2, T3 t3) : 81 PB_ASSOC_DIRECT_BASE_C_DEC(t0, t1, t2, t3) 82{ } 83 84PB_ASSOC_CLASS_T_DEC 85template<typename T0, 86 typename T1, 87 typename T2, 88 typename T3, 89 typename T4> 90inline 91PB_ASSOC_CLASS_C_DEC:: 92basic_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 96PB_ASSOC_CLASS_T_DEC 97template<typename T0, 98 typename T1, 99 typename T2, 100 typename T3, 101 typename T4, 102 typename T5> 103inline 104PB_ASSOC_CLASS_C_DEC:: 105basic_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 109PB_ASSOC_CLASS_T_DEC 110template<typename T0, 111 typename T1, 112 typename T2, 113 typename T3, 114 typename T4, 115 typename T5, 116 typename T6> 117inline 118PB_ASSOC_CLASS_C_DEC:: 119basic_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 123PB_ASSOC_CLASS_T_DEC 124template<typename T0, 125 typename T1, 126 typename T2, 127 typename T3, 128 typename T4, 129 typename T5, 130 typename T6, 131 typename T7> 132inline 133PB_ASSOC_CLASS_C_DEC:: 134basic_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 138PB_ASSOC_CLASS_T_DEC 139template<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> 148inline 149PB_ASSOC_CLASS_C_DEC:: 150basic_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 154PB_ASSOC_CLASS_T_DEC 155inline 156PB_ASSOC_CLASS_C_DEC:: 157basic_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 161PB_ASSOC_CLASS_T_DEC 162PB_ASSOC_CLASS_C_DEC:: 163~basic_assoc_cntnr() 164{ } 165