Robert, thanks for the reply -- I won't attempt to serialize the static const members. Also, it looks like if the members is static but not const and defined outside of the class, the linker finds it just fine, when it is referenced in save_construct_data(). Kurt
I'm not so sure about that. There no need to serialize the static const values since they are fixed and initialized before the first instance is constructed.
It has always been that static variables had to be explicitly initialized outside the class. As in
const int A::var1 = 1; // no longer necessary const int A::var2 = 2;
But I guess C++11 changed that.
Robert Ramey _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users