constexpr const std::any * value() const
Returns the value.
Definition entry.hpp:162
constexpr const input * p_key() const
Returns the pointer to the key.
Definition entry.hpp:152
constexpr entry_view(const input *p_key, const std::any *value, int cost)
Creates an entry view.
Definition entry.hpp:131
static const entry_view & bos_eos()
Returns the BOS/EOS (Beginning/End of Sequence) entry.
constexpr int cost() const
Returns the cost.
Definition entry.hpp:172
entry_view(const entry &entry)
Creates an entry view.
entry(const entry &another)
Copies an entry.
const input * p_key() const
Returns the pointer to the key.
entry(std::unique_ptr< input > &&p_key, std::any value, int cost)
Creates an entry.
entry(const entry_view &view)
Creates an entry.
static const entry & bos_eos()
Returns the BOS/EOS (Beginning/End of Sequence) entry.
const std::any & value() const
Returns the value.