]> https://gitweb.dealii.org/ - dealii-svn.git/commit
In tria.h, we use an object of type StraightBoundary<dim> to initialize a default...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jul 2004 15:21:19 +0000 (15:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jul 2004 15:21:19 +0000 (15:21 +0000)
commite24acf7d7ca09d6b39779f479db71f10ad8c8618
tree306452c08299062b8779950b570afc5fec81bb78
parent7cf417b5f23f4fbaa04c739cc6f9e94cb84244bc
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.