GenericArithmetic Class Reference

#include <apibase.h>

Detailed Description

GenericArithmetic represents an abstract type to be used as base type of all arithmetic types. It is not the base in the sense of C++ (as there is no base type of, e.g., int), but in the sense of the DataType system.

Public Member Functions

 GenericArithmetic (Int=0)
 
Bool operator== (const GenericArithmetic &other) const
 
Bool operator< (const GenericArithmetic &other) const
 
 MAXON_OPERATOR_COMPARISON (GenericArithmetic)
 
HashInt GetHashCode () const
 

Constructor & Destructor Documentation

◆ GenericArithmetic()

GenericArithmetic ( Int  = 0)
explicit

Member Function Documentation

◆ operator==()

Bool operator== ( const GenericArithmetic other) const

◆ operator<()

Bool operator< ( const GenericArithmetic other) const

◆ MAXON_OPERATOR_COMPARISON()

MAXON_OPERATOR_COMPARISON ( GenericArithmetic  )

◆ GetHashCode()

HashInt GetHashCode ( ) const