9 Feb
2016
9 Feb
'16
4:09 p.m.
On 2/9/2016 12:58 AM, Gavin Lambert wrote:
Do you have a throw-specification or noexcept on the arcSize() method?
Gavin, Thanks for your reply. I didn't have my own out-of-range check in the case of arcSize() since I deliberately used vector::at() which does its own check and raises std::out-of-range rather than use vector::operator[] which does not check. The original error message that started me looking into this was "terminate called after throwing an instance of 'std::out_of_range'", so the at() raised the exception I told the BOOST_CHECK_THROW to look for. Merrill