Template Struct CachedValueEqual

Struct Documentation

template<meta::eval_node Node>
struct CachedValueEqual

Equality for CachedValue: the structural TreeNodeEqualityComparator on the nodes.

Public Types

using is_transparent = void

Public Functions

inline bool operator()(CachedValue<Node> const &a, CachedValue<Node> const &b) const
inline bool operator()(CachedValue<Node> const &a, Node const &b) const

Heterogeneous overloads: compare a stored key against a bare node probe, without materializing a CachedValue (which would deep-copy the probed node’s subtree &#8212; see CachedValueHasher).

inline bool operator()(Node const &a, CachedValue<Node> const &b) const
inline bool operator()(Node const &a, Node const &b) const