]> https://gitweb.dealii.org/ - dealii.git/commit
In tria.h, we use an object of type StraightBoundary<dim> to initialize a default...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 30 Jul 2004 15:21:19 +0000 (15:21 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 30 Jul 2004 15:21:19 +0000 (15:21 +0000)
commit0fea7fe33272eba1ecd8aebebc5cdbc3a6297840
tree310b3f5e853ca386d1a5a3e8722fa2fbb72c6d4f
parentb8afb0d040b6eef4470389a16c4c2d1334aab912
In tria.h, we use an object of type StraightBoundary<dim> to initialize a default argument for a variable of type Boundary<dim>. Both of these types are only forward declared at this point. While most compilers seem to have no problem with this, ibm's xlC does as it tries to instantiate the default arg when seeing the explicit specialization declarations of member functions further down in the file.

While it may be that xlC is wrong, there is no need to be so contrived. We can just overload the set_boundary function and have one that has one and one with two arguments.

git-svn-id: https://svn.dealii.org/trunk@9537 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/deal.II/include/grid/tria.h
deal.II/deal.II/source/grid/tria.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.