04-30-2015, 06:37 AM
Hello, welcome to the forum
The local static variable is still not safe in MSVC2013, since it doesn't implement "magic statics" yet; it is finally available in MSVC2015. Still, it is the best option out there I guess.
Or maybe the best option would be to get rid of the class altogether. It is poorly documented, no-one really knows what it does, exactly, and it is only used in a few places; as STR already said, we have a newer class for the kind of work this class was expected to perform, with a much improved interface and cleaner documentation.
The local static variable is still not safe in MSVC2013, since it doesn't implement "magic statics" yet; it is finally available in MSVC2015. Still, it is the best option out there I guess.
Or maybe the best option would be to get rid of the class altogether. It is poorly documented, no-one really knows what it does, exactly, and it is only used in a few places; as STR already said, we have a newer class for the kind of work this class was expected to perform, with a much improved interface and cleaner documentation.