UnitType Class Reference 系统

#include <apibase.h>

详细描述

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 .

公共成员函数

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

成员函数文档编制

◆  operator==()

Bool operator== ( const UnitType b ) const

◆  operator<()

Bool operator< ( const UnitType b ) const

◆  MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( UnitType   )

◆  GetHashCode()

HashInt GetHashCode ( ) const