constructor_destructor_and_related.hpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // Copyright (C) 2005 Free Software Foundation, Inc.
00004 //
00005 // This file is part of the GNU ISO C++ Library.  This library is free
00006 // software; you can redistribute it and/or modify it under the
00007 // terms of the GNU General Public License as published by the
00008 // Free Software Foundation; either version 2, or (at your option)
00009 // any later version.
00010 
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // GNU General Public License for more details.
00015 
00016 // You should have received a copy of the GNU General Public License along
00017 // with this library; see the file COPYING.  If not, write to the Free
00018 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
00019 // USA.
00020 
00021 // As a special exception, you may use this file as part of a free software
00022 // library without restriction.  Specifically, if other files instantiate
00023 // templates or use macros or inline functions from this file, or you compile
00024 // this file and link it with other files to produce an executable, this
00025 // file does not by itself cause the resulting executable to be covered by
00026 // the GNU General Public License.  This exception does not however
00027 // invalidate any other reasons why the executable file might be covered by
00028 // the GNU General Public License.
00029 
00030 // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
00031 
00032 // Permission to use, copy, modify, sell, and distribute this software
00033 // is hereby granted without fee, provided that the above copyright
00034 // notice appears in all copies, and that both that copyright notice and
00035 // this permission notice appear in supporting documentation. None of
00036 // the above authors, nor IBM Haifa Research Laboratories, make any
00037 // representation about the suitability of this software for any
00038 // purpose. It is provided "as is" without express or implied warranty.
00039 
00045 PB_ASSOC_CLASS_T_DEC
00046 inline
00047 PB_ASSOC_CLASS_C_DEC::
00048 value_type_adapter()
00049 { }
00050 
00051 PB_ASSOC_CLASS_T_DEC
00052 template<typename T0>
00053 inline
00054 PB_ASSOC_CLASS_C_DEC::
00055 value_type_adapter(T0 t0) :
00056   my_base(t0)
00057 { }
00058 
00059 PB_ASSOC_CLASS_T_DEC
00060 template<typename T0, typename T1>
00061 inline
00062 PB_ASSOC_CLASS_C_DEC::
00063 value_type_adapter(T0 t0, T1 t1)  :
00064   my_base(t0, t1)
00065 { }
00066 
00067 PB_ASSOC_CLASS_T_DEC
00068 template<typename T0, typename T1, typename T2>
00069 inline
00070 PB_ASSOC_CLASS_C_DEC::
00071 value_type_adapter(T0 t0, T1 t1, T2 t2) :
00072   my_base(t0, t1, t2)
00073 { }
00074 
00075 PB_ASSOC_CLASS_T_DEC
00076 template<typename T0, typename T1, typename T2, typename T3>
00077 inline
00078 PB_ASSOC_CLASS_C_DEC::
00079 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3) :
00080   my_base(t0, t1, t2, t3)
00081 { }
00082 
00083 PB_ASSOC_CLASS_T_DEC
00084 template<typename T0,
00085      typename T1,
00086      typename T2,
00087      typename T3,
00088      typename T4>
00089 inline
00090 PB_ASSOC_CLASS_C_DEC::
00091 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) :
00092   my_base(t0, t1, t2, t3, t4)
00093 { }
00094 
00095 PB_ASSOC_CLASS_T_DEC
00096 template<typename T0,
00097      typename T1,
00098      typename T2,
00099      typename T3,
00100      typename T4,
00101      typename T5>
00102 inline
00103 PB_ASSOC_CLASS_C_DEC::
00104 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)  :
00105   my_base(t0,
00106       t1,
00107       t2,
00108       t3,
00109       t4,
00110       t5)
00111 { }
00112 
00113 PB_ASSOC_CLASS_T_DEC
00114 template<typename T0,
00115      typename T1,
00116      typename T2,
00117      typename T3,
00118      typename T4,
00119      typename T5,
00120      typename T6>
00121 inline
00122 PB_ASSOC_CLASS_C_DEC::
00123 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)   :
00124   my_base(t0,
00125       t1,
00126       t2,
00127       t3,
00128       t4,
00129       t5,
00130       t6)
00131 { }
00132 
00133 PB_ASSOC_CLASS_T_DEC
00134 template<typename T0,
00135      typename T1,
00136      typename T2,
00137      typename T3,
00138      typename T4,
00139      typename T5,
00140      typename T6,
00141      typename T7>
00142 inline
00143 PB_ASSOC_CLASS_C_DEC::
00144 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) :
00145   my_base(t0,
00146       t1,
00147       t2,
00148       t3,
00149       t4,
00150       t5,
00151       t6,
00152       t7)
00153 { }
00154 
00155 PB_ASSOC_CLASS_T_DEC
00156 template<typename T0,
00157      typename T1,
00158      typename T2,
00159      typename T3,
00160      typename T4,
00161      typename T5,
00162      typename T6,
00163      typename T7,
00164      typename T8>
00165 inline
00166 PB_ASSOC_CLASS_C_DEC::
00167 value_type_adapter(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8)  :
00168   my_base(t0,
00169       t1,
00170       t2,
00171       t3,
00172       t4,
00173       t5,
00174       t6,
00175       t7,
00176       t8)
00177 { }
00178 
00179 PB_ASSOC_CLASS_T_DEC
00180 PB_ASSOC_CLASS_C_DEC::
00181 ~value_type_adapter()
00182 { }
00183 

Generated on Tue Feb 2 16:55:50 2010 for GNU C++ STL by  doxygen 1.4.7