UnitType Class Reference

#include <apibase.h>

Detailed Description

This class represents the unit type from type theory, i.e., a type which allows only a single value. Therefore, each UnitType object is equal to each other UnitType object, and the comparison operators are defined correspondingly for UnitType.

Public Member Functions

Bool operator== (const UnitType &b) const
Bool operator< (const UnitType &b) const
HashInt GetHashCode () const
UniqueHash GetUniqueHashCode () const

Member Function Documentation

◆ operator==()

Bool operator== ( const UnitType b) const

◆ operator<()

Bool operator< ( const UnitType b) const



◆ GetHashCode()

HashInt GetHashCode ( ) const

◆ GetUniqueHashCode()

UniqueHash GetUniqueHashCode ( ) const