at

inline const_reference_point_type libsemigroups::Action::at(size_t pos) const

Returns position pos in the currently enumerated points.

Complexity

Constant.

Parameters

pos – the index of an element.

Throws

std::out_of_range – if !(pos < current_size()).

Returns

An Action::const_reference_point_type to the point in position pos of the currently enumerated points in the action.