Live Cells C++
Reactive Programming for C++
|
Base class for a key distinguished from other keys by one or more values. More...
#include <keys.hpp>
Public Member Functions | |
value_key (T value, Ts... rest) | |
Create a key distinguished from other keys by one or more values. | |
bool | eq (const key &other) const noexcept override |
Compare this key to another key for equality. | |
std::size_t | hash () const noexcept override |
Compute the hash code for this key. | |
Public Member Functions inherited from live_cells::key | |
virtual bool | is_unique () const noexcept |
Is this a unique key? | |
Base class for a key distinguished from other keys by one or more values.
Keys of this type compare equal if their runtime type is the same, and their values are equal.
|
inline |
Create a key distinguished from other keys by one or more values.
value | First value |
rest | Remaining values |
|
inlineoverridevirtualnoexcept |
Compare this key to another key for equality.
k | The key to compare to |
true
if this is equal to \aa k. Implements live_cells::key.
|
inlineoverridevirtualnoexcept |