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
 
 MAXON_OPERATOR_COMPARISON (UnitType)
 
UInt GetHashCode () const
 

Member Function Documentation

◆ operator==()

Bool operator== ( const UnitType b) const

◆ operator<()

Bool operator< ( const UnitType b) const

◆ MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( UnitType  )

◆ GetHashCode()

UInt GetHashCode ( ) const