Boost logo

Boost Users :

From: ALiX (alix.tofigh_at_[hidden])
Date: 2007-07-26 06:07:12


Vladimir Prus <ghost <at> cs.msu.su> writes:

> > 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?
>
> I don't plan any such change in a foreseeable future.

Great! Thanks for the answer. I assume that even if a change would be made
later, the error class would still have the what()-function (otherwise, the
constructor argument would be meaningless).

/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