]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move definitions into .cc file.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Jan 2002 12:24:06 +0000 (12:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Jan 2002 12:24:06 +0000 (12:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@5407 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/parameter_handler.h
deal.II/base/source/parameter_handler.cc

index 5562b77154e073241a7f40a84a29f3af07e2bf24..96cf751f394bc0ff49b4345f07bbbd977a41af17 100644 (file)
@@ -168,12 +168,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const int min_int_value =
-#ifdef HAVE_STD_NUMERIC_LIMITS
-          std::numeric_limits<int>::min();
-#else
-          1;
-#endif
+      static const int min_int_value;
 
                                       /**
                                        * Maximal integer value. If
@@ -183,12 +178,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const int max_int_value =
-#ifdef HAVE_STD_NUMERIC_LIMITS
-          std::numeric_limits<int>::max();
-#else
-          0;
-#endif
+      static const int max_int_value;
       
                                       /**
                                        * Constructor. Bounds can be
index aa60ca9074cfe66daf9d7df66d0b4345505756a3..ddfa7e459eecb291a959990d94f07e2db8755d6b 100644 (file)
@@ -54,8 +54,19 @@ namespace Patterns
   
 
 
-  const int Integer::min_int_value;
-  const int Integer::max_int_value;
+  const int Integer::min_int_value =
+#ifdef HAVE_STD_NUMERIC_LIMITS
+          std::numeric_limits<int>::min();
+#else
+          1;
+#endif
+  
+  const int Integer::max_int_value =
+#ifdef HAVE_STD_NUMERIC_LIMITS
+          std::numeric_limits<int>::max();
+#else
+          0;
+#endif
   
 
   Integer::Integer (const int lower_bound,

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.