Key identifying a constant_cell
.
More...
#include <constant_cell.hpp>
|
const T | value |
| Constant value.
|
|
template<
typename T>
struct live_cells::constant_key< T >
Key identifying a constant_cell
.
◆ constant_key()
Create a constant cell key identifying a constant_cell
with a given value.
- Parameters
-
◆ eq()
|
inlineoverridevirtualnoexcept |
Compare this key to another key for equality.
- Parameters
-
- Returns
true
if this is equal to \aa k.
Implements live_cells::key.
◆ hash()
|
inlineoverridevirtualnoexcept |
Compute the hash code for this key.
- Returns
- Hash code
Implements live_cells::key.
The documentation for this struct was generated from the following file: