DiSMEC++
opaque_int.h File Reference
#include <cstdint>
#include <type_traits>
#include <iosfwd>

Go to the source code of this file.

Classes

class  dismec::opaque_int_type< Tag, T >
 An integer-like type that represents categorical values. More...
 

Namespaces

 dismec
 Main namespace in which all types, classes, and functions are defined.
 

Functions

template<class Tag , class T >
constexpr bool dismec::operator== (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
constexpr bool dismec::operator!= (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
constexpr bool dismec::operator<= (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
constexpr bool dismec::operator< (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
constexpr bool dismec::operator> (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
constexpr bool dismec::operator>= (opaque_int_type< Tag, T > a, opaque_int_type< Tag, T > b)
 
template<class Tag , class T >
std::ostream & dismec::operator<< (std::ostream &stream, opaque_int_type< Tag, T > a)