Class template Dune::XT::Common::internal::AbsoluteValue

template<class T, bool isUnsigned = std::is_unsigned<T>::value>
class Dune::XT::Common::internal::AbsoluteValue<T, isUnsigned>

Helper struct to compute absolute values of signed and unsigned values, std::abs is only defined for signed types.

Method Dune::XT::Common::internal::AbsoluteValue::result

template<class T, bool isUnsigned = std::is_unsigned<T>::value>
static T Dune::XT::Common::internal::AbsoluteValue<T, isUnsigned>::result(const T &val)

No documentation provided.