From 6d9f9dbf523e79da6bf24a7f640c8918122e2cbd Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 16 May 2003 21:11:23 +0000 Subject: [PATCH] Be blunt and remove a construct that was only used for Sun's Forte compiler (which we don't support anyway) and which cluttered up our class documentation. git-svn-id: https://svn.dealii.org/trunk@7654 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/quadrature.h | 108 ------------------------- 1 file changed, 108 deletions(-) diff --git a/deal.II/base/include/base/quadrature.h b/deal.II/base/include/base/quadrature.h index 6c561493bb..4a2682425e 100644 --- a/deal.II/base/include/base/quadrature.h +++ b/deal.II/base/include/base/quadrature.h @@ -73,59 +73,6 @@ template class Quadrature : public Subscriptor { public: -#ifdef DEAL_II_LOCAL_TYPEDEF_COMP_WORKAROUND - /** - * Define a typedef for a - * quadrature that acts on an - * object of one dimension - * less. For cells, this would - * then be a face quadrature. - * - * The construct here is only - * used in case we hit a certain - * bug in Sun's Forte - * compiler. Since that compiler - * has trouble (well, an internal - * compiler error) if we typedef - * @p{typedef Quadrature - * SubQuadrature}, we put this - * type into a structure. Since - * again, if the structure is not - * templatized itself, the - * compiler barfs, we put a - * template to it. Now it - * works. Fortunately you will - * not usually come into contact - * with this kludge, but rather - * use the typedef'd type - * directly. We beg your pardon - * for doing such nasty things. - * - * For better readability we - * later typedef this so-created - * type to one in the enclosing - * class. - */ - template - struct SubQuadratureHelper - { - typedef Quadrature type; - }; - - /** - * Typedef the kludge declared - * above to a type in the class - * in which we would like to use - * it. - * - * This typedef is only used if - * the respective bug in the - * compiler is encountered, - * otherwise the proper typedef - * below is used. - */ - typedef typename SubQuadratureHelper::type SubQuadrature; -#else /** * Define a typedef for a * quadrature that acts on an @@ -134,7 +81,6 @@ class Quadrature : public Subscriptor * then be a face quadrature. */ typedef Quadrature SubQuadrature; -#endif /** * Number of quadrature points. @@ -347,59 +293,6 @@ template class QProjector { public: -#ifdef DEAL_II_LOCAL_TYPEDEF_COMP_WORKAROUND - /** - * Define a typedef for a - * quadrature that acts on an - * object of one dimension - * less. For cells, this would - * then be a face quadrature. - * - * The construct here is only - * used in case we hit a certain - * bug in Sun's Forte - * compiler. Since that compiler - * has trouble (well, an internal - * compiler error) if we typedef - * @p{typedef Quadrature - * SubQuadrature}, we put this - * type into a structure. Since - * again, if the structure is not - * templatized itself, the - * compiler barfs, we put a - * template to it. Now it - * works. Fortunately you will - * not usually come into contact - * with this kludge, but rather - * use the typedef'd type - * directly. We beg your pardon - * for doing such nasty things. - * - * For better readability we - * later typedef this so-created - * type to one in the enclosing - * class. - */ - template - struct SubQuadratureHelper - { - typedef Quadrature type; - }; - - /** - * Typedef the kludge declared - * above to a type in the class - * in which we would like to use - * it. - * - * This typedef is only used if - * the respective bug in the - * compiler is encountered, - * otherwise the proper typedef - * below is used. - */ - typedef typename SubQuadratureHelper::type SubQuadrature; -#else /** * Define a typedef for a * quadrature that acts on an @@ -408,7 +301,6 @@ class QProjector * then be a face quadrature. */ typedef Quadrature SubQuadrature; -#endif /** * Compute the quadrature points -- 2.39.5