![]() |
libsemigroups
v3.0.0
C++ library for semigroups and monoids
|
Defined in adapters.hpp
.
Specialisations of this struct should be stateless trivially default constructible with a call operator of signature void operator()(Point& res, Element const& x, Point const& pt) const
(possibly noexcept
, inline
and/or constexpr
also).
The call operator should change res
in-place to contain the image of the point pt
under the left action of the element x
. The purpose of the 1st parameter is to avoid repeated allocations of memory to hold temporary points that are discarded soon after they are created.
Element | the type of the elements of a semigroup. |
Point | the type of the points acted on. |
The third template parameter exists for SFINAE.