OR-Tools  9.6
util_intops Namespace Reference

Classes

class  StrongInt
 
class  StrongIntRange
 

Functions

template<typename StrongIntName , typename ValueType >
std::ostream & operator<< (std::ostream &os, StrongInt< StrongIntName, ValueType > arg)
 
 STRONG_INT_TYPE_ARITHMETIC_OP (+)
 
 STRONG_INT_TYPE_ARITHMETIC_OP (-)
 
STRONG_INT_TYPE_ARITHMETIC_OP * STRONG_INT_TYPE_ARITHMETIC_OP (/);STRONG_INT_TYPE_ARITHMETIC_OP(<<
 
 STRONG_INT_TYPE_ARITHMETIC_OP (>>)
 
 STRONG_INT_TYPE_ARITHMETIC_OP (%)
 
 STRONG_INT_TYPE_COMPARISON_OP (==)
 
 STRONG_INT_TYPE_COMPARISON_OP (!=)
 
 STRONG_INT_TYPE_COMPARISON_OP (<=)
 
 STRONG_INT_TYPE_COMPARISON_OP (>=)
 
template<typename IntType >
StrongIntRange< IntType > MakeStrongIntRange (IntType end)
 
template<typename IntType >
StrongIntRange< IntType > MakeStrongIntRange (IntType begin, IntType end)
 

Variables

class util_intops::StrongInt ABSL_ATTRIBUTE_PACKED
 

Function Documentation

◆ MakeStrongIntRange() [1/2]

StrongIntRange<IntType> util_intops::MakeStrongIntRange ( IntType  begin,
IntType  end 
)

Definition at line 415 of file strong_int.h.

◆ MakeStrongIntRange() [2/2]

StrongIntRange<IntType> util_intops::MakeStrongIntRange ( IntType  end)

Definition at line 410 of file strong_int.h.

◆ operator<<()

std::ostream& util_intops::operator<< ( std::ostream &  os,
StrongInt< StrongIntName, ValueType >  arg 
)

Definition at line 286 of file strong_int.h.

◆ STRONG_INT_TYPE_ARITHMETIC_OP() [1/5]

util_intops::STRONG_INT_TYPE_ARITHMETIC_OP ( )

◆ STRONG_INT_TYPE_ARITHMETIC_OP() [2/5]

util_intops::STRONG_INT_TYPE_ARITHMETIC_OP ( )

◆ STRONG_INT_TYPE_ARITHMETIC_OP() [3/5]

util_intops::STRONG_INT_TYPE_ARITHMETIC_OP ( )

◆ STRONG_INT_TYPE_ARITHMETIC_OP() [4/5]

STRONG_INT_TYPE_ARITHMETIC_OP* util_intops::STRONG_INT_TYPE_ARITHMETIC_OP ( )

◆ STRONG_INT_TYPE_ARITHMETIC_OP() [5/5]

util_intops::STRONG_INT_TYPE_ARITHMETIC_OP ( >>  )

◆ STRONG_INT_TYPE_COMPARISON_OP() [1/4]

util_intops::STRONG_INT_TYPE_COMPARISON_OP ( )

◆ STRONG_INT_TYPE_COMPARISON_OP() [2/4]

util_intops::STRONG_INT_TYPE_COMPARISON_OP ( <=  )

◆ STRONG_INT_TYPE_COMPARISON_OP() [3/4]

STRONG_INT_TYPE_COMPARISON_OP ( )

◆ STRONG_INT_TYPE_COMPARISON_OP() [4/4]

util_intops::STRONG_INT_TYPE_COMPARISON_OP ( >=  )

Variable Documentation

◆ ABSL_ATTRIBUTE_PACKED

class util_intops::StrongInt ABSL_ATTRIBUTE_PACKED