Swap

template<typename TPTransf16Subclass>
struct libsemigroups::Swap<TPTransf16Subclass, std::enable_if_t<std::is_base_of<HPCombi::PTransf16, TPTransf16Subclass>::value>>

Defined in hpcombi.hpp.

Specialization of the adapter Swap for subclasses of HPCombi::PTransf16.

See also

Swap.

Public Functions

inline void operator()(TPTransf16Subclass &x, TPTransf16Subclass &y) const noexcept

Swap x and y.

Throws

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