17 return dynamic_cast<const UnitType *
>(&other) !=
nullptr;
32 std::shared_ptr<const UnitType>
36 return std::shared_ptr<const UnitType>(std::shared_ptr<void>(), &instance);
Unit type (type carrying no information)
~UnitType() noexcept override
std::size_t ComputeHash() const noexcept override
TypeKind Kind() const noexcept override
Return the kind of this type.
bool operator==(const Type &other) const noexcept override
static std::shared_ptr< const UnitType > Create()
TypeKind
The kinds of types supported in rvsdg.
@ Value
Designate a value type.