recursive_path_compare (references)

template<typename T>
bool libsemigroups::recursive_path_compare(T const &x, T const &y) noexcept

Compare two objects of the same type using recursive_path_compare.

Defined in order.hpp.

Possible Implementation

recursive_path_compare(
  x.cbegin(), x.cend(), y.cbegin(), y.cend());

Exceptions

This function is noexcept and is guaranteed never to throw.

See

recursive_path_compare(T const, T, S const, S)

Template Parameters

T – the type of the objects to be compared.

Parameters
  • x – const reference to the first object for comparison

  • y – const reference to the second object for comparison

Returns

A bool.