// Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany). // All rights reserved. // // This file is part of CGAL (www.cgal.org); you may redistribute it under // the terms of the Q Public License version 1.0. // See the file LICENSE.QPL distributed with CGAL. // // Licensees holding a valid commercial license may use this file in // accordance with the commercial license agreement provided with the software. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // // $Source: /CVSROOT/CGAL/Packages/Nef_S2/include/CGAL/Nef_S2/Tuple.h,v $ // $Revision: 1.3.8.1 $ $Date: 2004/12/06 12:44:05 $ // $Name: $ // // Author(s) : Michael Seel #ifndef CGAL_TUPLE_H #define CGAL_TUPLE_H #include CGAL_BEGIN_NAMESPACE template class Tuple { typedef Tuple Self; T object_[n]; public: Tuple() { for (unsigned i=0; i1); object_[0]=t1; object_[1]=t2; } Tuple(const T& t1, const T& t2, const T& t3) { CGAL_assertion(n>2); object_[0]=t1; object_[1]=t2; object_[2]=t3; } Tuple(const Self& t) { for (unsigned i=0; i