Iterators

This page contains information about iterators for the Blocks class.

inline const_iterator libsemigroups::Blocks::cbegin() const noexcept

Returns a const iterator pointing to the index of the first block.

Complexity

Constant.

Parameters

(None)

Throws

(None) – This function is noexcept and is guaranteed never to throw.

Returns

A value of type const_iterator.

inline lookup_const_iterator libsemigroups::Blocks::cbegin_lookup() const noexcept

Returns a const iterator pointing to the first transverse block lookup.

The value pointed to is true if the i th block of this is a transverse block; and false otherwise.

Complexity

Constant.

Parameters

(None)

Throws

(None) – This function is noexcept and is guaranteed never to throw.

Returns

A lookup_const_iterator.

inline const_iterator libsemigroups::Blocks::cend() const noexcept

Returns a const iterator pointing one past-the-end of the last block.

Complexity

Constant.

Parameters

(None)

Throws

(None) – This function is noexcept and is guaranteed never to throw.

Returns

A value of type const_iterator

inline lookup_const_iterator libsemigroups::Blocks::cend_lookup() const noexcept

Returns a const iterator pointing to the first transverse block lookup.

See also

cbegin_lookup.