25 Jul
2007
25 Jul
'07
4:49 p.m.
In the latest implementation of boost (1.34), the error class in boost::program_options is defined as a subclass of std::logic_error. This is, however, not stated in the documentation. In the documentation the class error is described as if it has no superclass from which it inherits. In my programs, can I safely rely on the fact that error inherits from std::logic_error, and so comfortably use the what() function to extract the error messages? Might this change in later implementations? Kind regards, /ALiX