...
In this compliant solution, access to the vector is accomplished with the at()
method. This method provides bounds checking, throwing an a std::out_of_range
exception if pos
is not a valid index value. The insert_in_table()
function is declared with noexcept(false)
in compliance with ERR50-CPP. Do not call std::terminate(), std::abort(), or std::_Exit().
...