constructors_destructor_fn_imps.hpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // Copyright (C) 2005, 2006 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 terms
00007 // of the GNU General Public License as published by the Free Software
00008 // Foundation; either version 2, or (at your option) any later
00009 // version.
00010 
00011 // This library is distributed in the hope that it will be useful, but
00012 // WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // General Public License for more details.
00015 
00016 // You should have received a copy of the GNU General Public License
00017 // along with this library; see the file COPYING.  If not, write to
00018 // the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
00019 // MA 02111-1307, USA.
00020 
00021 // As a special exception, you may use this file as part of a free
00022 // software library without restriction.  Specifically, if other files
00023 // instantiate templates or use macros or inline functions from this
00024 // file, or you compile this file and link it with other files to
00025 // produce an executable, this file does not by itself cause the
00026 // resulting executable to be covered by the GNU General Public
00027 // License.  This exception does not however invalidate any other
00028 // reasons why the executable file might be covered by the GNU General
00029 // Public License.
00030 
00031 // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
00032 
00033 // Permission to use, copy, modify, sell, and distribute this software
00034 // is hereby granted without fee, provided that the above copyright
00035 // notice appears in all copies, and that both that copyright notice
00036 // and this permission notice appear in supporting documentation. None
00037 // of the above authors, nor IBM Haifa Research Laboratories, make any
00038 // representation about the suitability of this software for any
00039 // purpose. It is provided "as is" without express or implied
00040 // warranty.
00041 
00042 /**
00043  * @file constructors_destructor_fn_imps.hpp
00044  * Contains constructors_destructor_fn_imps applicable to different containers.
00045  */
00046 
00047 inline
00048 PB_DS_CLASS_NAME()
00049 { }
00050 
00051 inline
00052 PB_DS_CLASS_NAME(const PB_DS_CLASS_NAME& other) 
00053 : base_type((const base_type&)other)
00054 { }
00055 
00056 template<typename T0>
00057 inline
00058 PB_DS_CLASS_NAME(T0 t0) : base_type(t0)
00059 { }
00060 
00061 template<typename T0, typename T1>
00062 inline
00063 PB_DS_CLASS_NAME(T0 t0, T1 t1) : base_type(t0, t1)
00064 { }
00065 
00066 template<typename T0, typename T1, typename T2>
00067 inline
00068 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2) : base_type(t0, t1, t2)
00069 { }
00070 
00071 template<typename T0, typename T1, typename T2, typename T3>
00072 inline
00073 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3) 
00074 : base_type(t0, t1, t2, t3)
00075 { }
00076 
00077 template<typename T0, typename T1, typename T2, typename T3, typename T4>
00078 inline
00079 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) 
00080 : base_type(t0, t1, t2, t3, t4)
00081 { }
00082 
00083 template<typename T0, typename T1, typename T2, typename T3, typename T4,
00084      typename T5>
00085 inline
00086 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) 
00087 : base_type(t0, t1, t2, t3, t4, t5)
00088 { }
00089 
00090 template<typename T0, typename T1, typename T2, typename T3, typename T4,
00091      typename T5, typename T6>
00092 inline
00093 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6) 
00094 : base_type(t0, t1, t2, t3, t4, t5, t6)
00095 { }
00096 
00097 template<typename T0, typename T1, typename T2, typename T3, typename T4,
00098      typename T5, typename T6, typename T7>
00099 inline
00100 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) 
00101 : base_type(t0, t1, t2, t3, t4, t5, t6, t7)
00102 { }
00103 
00104 template<typename T0, typename T1, typename T2, typename T3, typename T4,
00105      typename T5, typename T6, typename T7, typename T8>
00106 inline
00107 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7, T8 t8)
00108 : base_type(t0, t1, t2, t3, t4, t5, t6, t7, t8)
00109 { }

Generated on Thu Nov 1 13:11:23 2007 for libstdc++ by  doxygen 1.5.1