26 Jul
2007
26 Jul
'07
10:07 a.m.
Vladimir Prus
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