From 5dac6514af6f64ee9f81bfba54c1d05ccb599987 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 17 Jul 2016 14:17:39 -0400 Subject: [PATCH] Remove an AIX workaround in step-7. --- examples/step-7/step-7.cc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/examples/step-7/step-7.cc b/examples/step-7/step-7.cc index f013f6ece9..75fbc6952e 100644 --- a/examples/step-7/step-7.cc +++ b/examples/step-7/step-7.cc @@ -1388,16 +1388,3 @@ int main () return 0; } - - -// What comes here is basically just an annoyance that you can ignore if you -// are not working on an AIX system: on this system, static member variables -// are not instantiated automatically when their enclosing class is -// instantiated. This leads to linker errors if these variables are not -// explicitly instantiated. As said, this is, strictly C++ standards speaking, -// not necessary, but it doesn't hurt either on other systems, and since it is -// necessary to get things running on AIX, why not do it: -namespace Step7 -{ - template const double SolutionBase<2>::width; -} -- 2.39.5