13 TypeConstraint(std::shared_ptr<TipType> l, std::shared_ptr<TipType> r);
15 std::shared_ptr<TipType>
lhs;
16 std::shared_ptr<TipType>
rhs;
A simple type constraint representation.
Definition: TypeConstraint.h:10
bool operator==(const TypeConstraint &other) const
Two constraints are equal if their underlying terms are equal.
Definition: TypeConstraint.cpp:13
bool operator!=(const TypeConstraint &other) const
Definition: TypeConstraint.cpp:17
friend std::ostream & operator<<(std::ostream &os, const TypeConstraint &obj)
Definition: TypeConstraint.cpp:21
std::shared_ptr< TipType > lhs
Definition: TypeConstraint.h:15
std::shared_ptr< TipType > rhs
Definition: TypeConstraint.h:16