1 #ifndef LOCARNA_TYPE_WRAPPER_HH 2 #define LOCARNA_TYPE_WRAPPER_HH 43 const T &
val()
const {
return val_;}
143 std::ostream & operator << (std::ostream &out,const type_wrapper<T> &x) {
150 #endif // LOCARNA_TYPE_WRAPPER_HH bool operator<(const type_wrapper &x) const
less
Definition: type_wrapper.hh:72
bool operator!=(const type_wrapper &x) const
inequal
Definition: type_wrapper.hh:58
type_wrapper(const type_wrapper &idx)
copy constructor
Definition: type_wrapper.hh:33
const T & val() const
casting to T
Definition: type_wrapper.hh:43
Definition: aligner.cc:17
const type_wrapper & operator++()
prefix increment
Definition: type_wrapper.hh:120
bool operator>(const type_wrapper &x) const
greater
Definition: type_wrapper.hh:86
generic type_wrapper class
Definition: type_wrapper.hh:16
bool operator<=(const type_wrapper &x) const
less equal
Definition: type_wrapper.hh:65
bool operator==(const type_wrapper &x) const
equal
Definition: type_wrapper.hh:50
type_wrapper operator+(const type_wrapper &x) const
add
Definition: type_wrapper.hh:93
bool operator>=(const type_wrapper &x) const
greater equal
Definition: type_wrapper.hh:79
type_wrapper operator-(const type_wrapper &x) const
subtract
Definition: type_wrapper.hh:100
const type_wrapper & operator--()
prefix decrement
Definition: type_wrapper.hh:126
type_wrapper()
default constructor
Definition: type_wrapper.hh:23
type_wrapper(const T &i)
conversion constructor
Definition: type_wrapper.hh:28