From 51180b7d5860ac18c9339f871ea6db83b6cbcdaa Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 16 Dec 2005 13:28:09 +0000 Subject: [PATCH] Increased the maximum number of possible template args from 7 to 8 --- vcg/simplex/faceplus/base.h | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/vcg/simplex/faceplus/base.h b/vcg/simplex/faceplus/base.h index 46fa3858..2aa0d26f 100644 --- a/vcg/simplex/faceplus/base.h +++ b/vcg/simplex/faceplus/base.h @@ -24,6 +24,11 @@ History $Log: not supported by cvs2svn $ +Revision 1.5 2005/12/02 00:41:38 cignoni +Added and removed typenames for gcc compiling. +Added this-> qualifier for referencing the elemntes of the templated base class +(e.g. to refer the possibly overridden flags()) it seems to be needed by the standard + Revision 1.4 2005/11/16 22:56:32 cignoni Added EmptyMark to base class Standardized name of flags. It is plural becouse each simplex has many flag. @@ -134,6 +139,13 @@ template class E, template class F > class FaceArity6: public F > {}; +template class A, template class B, + template class C, template class D, + template class E, template class F, + template class G > + class FaceArity7: public G > {}; + /* The Real Big Face class; The class __FaceArityMax__ is the one that is the Last to be derived, @@ -150,8 +162,8 @@ template class A, template class B, template class C, template class D, template class E, template class F, - template class G> -class FaceArityMax: public G > { + template class G, template class H> +class FaceArityMax: public H > { // ----- Flags stuff ----- public: @@ -301,15 +313,15 @@ template class A = FaceDefaultDeriver, template class B = FaceDefaultDeriver, template class C = FaceDefaultDeriver, template class D = FaceDefaultDeriver, template class E = FaceDefaultDeriver, template class F = FaceDefaultDeriver, - template class G = FaceDefaultDeriver > - class FaceSimp3: public FaceArityMax {}; + template class G = FaceDefaultDeriver, template class H = FaceDefaultDeriver > + class FaceSimp3: public FaceArityMax {}; template class A = FaceDefaultDeriver, template class B = FaceDefaultDeriver, template class C = FaceDefaultDeriver, template class D = FaceDefaultDeriver, template class E = FaceDefaultDeriver, template class F = FaceDefaultDeriver, - template class G = FaceDefaultDeriver > - class FaceSimp2: public FaceArityMax {}; + template class G = FaceDefaultDeriver, template class H = FaceDefaultDeriver > + class FaceSimp2: public FaceArityMax {}; }// end namespace