Specialization of the adapter Hash for instances of PBR.
- See also
- Hash.
◆ operator()() [1/2]
size_t operator() |
( |
PBR const & | x | ) |
const |
|
inline |
This call operator hashes x
using std::hash with template parameter Value
.
- Parameters
-
- Returns
- A hash value for
x
, a value of type size_t
.
◆ operator()() [2/2]
size_t operator() |
( |
PBR const & | x | ) |
const |
|
inline |
Returns a hash value for x
.
- Parameters
-
- Returns
- A value of
size_t
.
- Exceptions
- This function guarantees not to throw a LibsemigroupsException.
- Complexity
- Linear in
degree()
.
- See also
- hash_value
The documentation for this struct was generated from the following file:
- /Users/jdm/libsemigroups/include/libsemigroups/pbr.hpp