Class StructuralKey#

Inheritance Relationships#

Base Type#

  • public ObjectRef

Class Documentation#

class StructuralKey : public ObjectRef#

ObjectRef wrapper for StructuralKeyObj.

StructuralKey can be used to ensure that we use structural equality and hash for the wrapped key.

Public Functions

inline explicit StructuralKey(Any key)#

Construct a StructuralKey from a key.

Parameters:

key – The key value.

inline bool operator==(const StructuralKey &other) const#
inline bool operator!=(const StructuralKey &other) const#