]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add another invalid constructor for Point.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Jul 1999 12:17:32 +0000 (12:17 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Jul 1999 12:17:32 +0000 (12:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@1614 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/point.h

index 8627c475f3274dfc5b5f0f18ab1234df1e222e16..a8429694b5ddb727ddb4b1e2f543fca2c97ec7c9 100644 (file)
@@ -204,6 +204,14 @@ Point<2>::Point (const double, const double, const double) {
 
 
 
+template <>
+inline
+Point<3>::Point (const double, const double) {
+  Assert (false, ExcInvalidConstructorCalled());
+};
+
+
+
 template <>
 inline
 Point<3>::Point (const double x, const double y, const double z) {

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.