libsemigroups  v3.0.0
C++ library for semigroups and monoids
Loading...
Searching...
No Matches
BooleanOne

Defined in matrix.hpp.

This is a stateless struct with a single call operator of signature: bool operator()() const noexcept which returns true; representing the multiplicative identity of the boolean semiring.

Public Member Functions

constexpr bool operator() () const noexcept
 Call operator returning the multiplication identity true of the boolean semiring.
 

Member Function Documentation

◆ operator()()

bool operator() ( ) const
inlineconstexprnoexcept

Call operator returning the multiplication identity true of the boolean semiring.

Returns
The value true.
Exceptions
This function is noexcept and is guaranteed never to throw.

The documentation for this struct was generated from the following file: