
please wait
|
|
Out of Range error: vector::_M_range_check |
|
|
try catch
logic I'm implementing.
v.at(v.size()) = 100;
If the container size is greater than n, the function never throws exceptions (no-throw guarantee). Otherwise, the behavior is undefined. |