XII Release 0.1.0
Loading...
Searching...
No Matches
xiiComparisonOperator Struct Reference

An enum that represents the operator of a comparison. More...

#include <Declarations.h>

Inheritance diagram for xiiComparisonOperator:
[legend]

Public Types

enum  Enum : StorageType {
  Equal , NotEqual , Less , LessEqual ,
  Greater , GreaterEqual , Default = Equal
}
 
using StorageType = xiiUInt8
 

Static Public Member Functions

template<typename T>
static bool Compare (xiiComparisonOperator::Enum cmp, const T &a, const T &b)
 Compares a to b with the given operator. This function only needs the == and < operator for T.
 

Detailed Description

An enum that represents the operator of a comparison.


The documentation for this struct was generated from the following files: