35#ifndef _BLAZE_UTIL_UNSIGNEDVALUE_H_
36#define _BLAZE_UTIL_UNSIGNEDVALUE_H_
83 inline operator T()
const;
124template<
typename T >
145template<
typename T >
167template<
typename T >
188template<
typename T >
207template<
typename T1,
typename T2 >
210template<
typename T1,
typename T2 >
213template<
typename T1,
typename T2 >
216template<
typename T1,
typename T2 >
219template<
typename T1,
typename T2 >
222template<
typename T1,
typename T2 >
225template<
typename T >
228template<
typename T >
245 return lhs.
get() == rhs.
get();
261 return lhs.
get() != rhs.
get();
277 return lhs.
get() < rhs.
get();
293 return lhs.
get() > rhs.
get();
309 return lhs.
get() <= rhs.
get();
325 return lhs.
get() >= rhs.
get();
337template<
typename T >
340 return os << uv.
get();
357template<
typename T >
361 const std::istream::pos_type pos( is.tellg() );
367 if( is.peek() ==
'-' || !(is >> tmp) )
371 is.setstate( std::istream::failbit );
Constraint on the data type.
Implementation of a wrapper for built-in unsigned integral values.
Definition: UnsignedValue.h:64
T get() const
Access to the wrapped built-in unsigned integral value.
Definition: UnsignedValue.h:189
UnsignedValue(T value=0)
The default constructor for UnsignedInt.
Definition: UnsignedValue.h:125
T value_
The wrapped built-in unsigned integral value.
Definition: UnsignedValue.h:98
UnsignedValue & operator=(T value)
Assignment of a built-in unsigned integral value.
Definition: UnsignedValue.h:146
#define BLAZE_CONSTRAINT_MUST_BE_UNSIGNED_TYPE(T)
Constraint on the data type.
Definition: Unsigned.h:61
decltype(auto) operator<<(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Left-shift operator for the elementwise left-shift of a dense matrix.
Definition: DMatDMatMapExpr.h:1570
decltype(auto) operator>>(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Right-shift operator for the elementwise right-shift of a dense matrix.
Definition: DMatDMatMapExpr.h:1604
constexpr bool operator>(const NegativeAccuracy< A > &lhs, const T &rhs)
Greater-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:370
constexpr bool operator==(const NegativeAccuracy< A > &lhs, const T &rhs)
Equality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:253
constexpr bool operator<(const NegativeAccuracy< A > &lhs, const T &rhs)
Less-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:332
constexpr bool operator>=(const NegativeAccuracy< A > &, const T &rhs)
Greater-or-equal-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:446
constexpr bool operator!=(const NegativeAccuracy< A > &lhs, const T &rhs)
Inequality comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:293
constexpr bool operator<=(const NegativeAccuracy< A > &, const T &rhs)
Less-or-equal-than comparison between a NegativeAccuracy object and a floating point value.
Definition: Accuracy.h:408