![]() |
RobWorkProject
23.9.11-
|
Utility class which initializes Boost local static variables. More...
#include <BoostXMLParser.hpp>
Public Member Functions | |
| BoostInitializer () | |
| Initializes BoostXMLParser when constructed. | |
Utility class which initializes Boost local static variables.
If the BoostXMLParser is used outside main (as a part of global initialization/destruction), the BoostInitializer should be used explicitly to control the static initialization/destruction order.
Notice that the BoostInitializer is automatically defined as a global variable, hence it should not be necessary to specify the initializer explicitly if BoostXMLParser is to be used in local static initialization/destruction.