Boost logo

Boost Users :

From: ALiX (alix.tofigh_at_[hidden])
Date: 2007-07-25 12:49:31


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net