Inside the header file of my class, I am trying the following and getting compiler complaints:
private: static const double some_double= 1.0;
I've worked around this issue by doing this:
//my_class.hpp const double my_double() const {return 0.12345;} //in use double some_double = my_class::my_double();
I got the idea from
math::pi()