Adapters

Declared in adapters.hpp.

This file contains class templates for adapting a user-defined type for use with the algorithms in libsemigroups. There are explicit implementations for relevant element types from libsemigroups and HPCombi, details of which can be found elsewhere in this documentation. .

No default implementation

The following adapters have no default implementation for arbitrary types to avoid violating the principle of least astonishment

Default implementation

The following adapters do have a default implementation for arbitrary types: