cpp/error/out of range

Defines a type of object to be thrown as exception. It reports errors that are consequence of attempt to access elements out of defined range.

It may be thrown by the member functions of std and std, by std and std families of functions, and by the bounds-checked member access functions (e.g. std and std).