]> https://gitweb.dealii.org/ - dealii.git/commit
Don't make constructor of MappingQ explicit, after all. This sounded like a
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 22 Aug 2011 16:42:42 +0000 (16:42 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 22 Aug 2011 16:42:42 +0000 (16:42 +0000)
commitb306957361b2f29a71090ce77bd9e51385bd8086
tree72230af1f7ac1edd676c9078cd4d109a02692068
parent2f852ea2a7bed56c99cd7a8a1ebd75961e167d46
Don't make constructor of MappingQ explicit, after all. This sounded like a
good idea but at least gcc 4.1 has a bug in which it complains that the
following code can't be compiled:
.....................
struct Mapping {
    Mapping ();
    explicit Mapping (const Mapping &);
};

void push_back (const Mapping &);

int main () {
  push_back (Mapping());
}
.....................
The error is erroneous, but we get hit by it some 20 times in the
testsuite. I'm also not entirely sure whether it's worth the effort of putting
a test for this in aclocal.m4 and making the constructor explicit only if the
test succeeds...

git-svn-id: https://svn.dealii.org/trunk@24167 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/include/deal.II/fe/mapping_q.h

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.