recursive_path_compare (pointers)

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

Compare two objects via their pointers using recursive_path_compare.

Defined in order.hpp.

See also

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

Possible Implementation

recursive_path_compare(
  x->cbegin(), x->cend(), y->cbegin(), y->cend());

Template Parameters

T – the type of the objects to be compared.

Parameters
  • x – pointer to the first object for comparison

  • y – pointer to the second object for comparison

Throws

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

Returns

A bool.