Re:Why C++ sucks (2016 edition)
by blub on Monday February 22, 2016 @11:53AM
(#11152210)
I missed the exc question: yes, invalid_argument is perfectly acceptable in my opinion. However, if you want to inherit from invalid_arg that is also possible - this would allow you to catch only this very specific type of error.
[ Parent
| on HN ]
There are no comments on this comment yet.