operator[]

const_reference_point_type libsemigroups::Action::operator[](size_t pos) const noexcept

Returns position pos in the currently enumerated points.

Return

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

Exceptions

This function is noexcept and is guaranteed never to throw.

Complexity

Constant.

Parameters
  • pos: the index of an element.