Live Cells C++
Reactive Programming for C++
|
A key of uniquely identified by a single instance. More...
#include <keys.hpp>
Public Member Functions | |
bool | eq (const key &k) 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. | |
bool | is_unique () const noexcept override |
Is this a unique key? | |
A key of uniquely identified by a single instance.
An instance of this class compares equal only when compared to the same instance.
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.
|
overridevirtualnoexcept |
|
inlineoverridevirtualnoexcept |
Is this a unique key?
A key is unique if it is identified by a single key
instance.
true
if this key is unique. Reimplemented from live_cells::key.