Topic: Distinction between logic_error subclasses.


Author: Angus Monro <ajmonro@ingennia.com.au>
Date: 1999/05/18
Raw View
I cannot tell from the standard what the distinctions between the
various logic_error subclasses are.  In particular, what's the
difference between a domain error and an invalid argument, and why isn't
out_of_range a subclass of invalid_argument?

--
Angus Monro
Principal Software Engineer
Ingennia Pty Ltd
Bus: +61-3-9706-9855
E-mail: ajmonro@ingennia.com.au
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]