From f41e699da1099f5e49f5ce52c6b1e3744d470bd7 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 9 Oct 2006 20:20:18 +0000 Subject: [PATCH] Increased the maximum number of possible template args from 8 to 9 --- vcg/simplex/faceplus/base.h | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/vcg/simplex/faceplus/base.h b/vcg/simplex/faceplus/base.h index f9bb0b98..1271e507 100644 --- a/vcg/simplex/faceplus/base.h +++ b/vcg/simplex/faceplus/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.7 2006/02/27 17:58:11 ponchio +Added some documentation + Revision 1.6 2005/12/16 13:28:09 cignoni Increased the maximum number of possible template args from 7 to 8 @@ -149,6 +152,13 @@ template class G > class FaceArity7: public G > {}; +template class A, template class B, + template class C, template class D, + template class E, template class F, + template class G, template class H > + class FaceArity8: public H > {}; + /* The Real Big Face class; The class __FaceArityMax__ is the one that is the Last to be derived, @@ -165,8 +175,9 @@ template class A, template class B, template class C, template class D, template class E, template class F, - template class G, template class H> -class FaceArityMax: public H > { + template class G, template class H, + template class I > + class FaceArityMax: public I > { // ----- Flags stuff ----- public: @@ -332,16 +343,19 @@ 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, template class H = FaceDefaultDeriver > - class FaceSimp3: public FaceArityMax {}; + template class G = FaceDefaultDeriver, template class H = FaceDefaultDeriver, + template class I = 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, template class H = FaceDefaultDeriver > - class FaceSimp2: public FaceArityMax {}; + template class G = FaceDefaultDeriver, template class H = FaceDefaultDeriver, + template class I = FaceDefaultDeriver > + class FaceSimp2: public FaceArityMax {}; }// end namespace #endif +