GEOSX
Classes | Namespaces | Functions
limits.hpp File Reference

Contains portable access to std::numeric_limits and functions for converting between integral types. More...

#include "Macros.hpp"
#include <limits>

Go to the source code of this file.

Classes

struct  LvArray::NumericLimits< T >
 A wrapper for the std::numeric_limits< T > member functions, this allows their values to be used on device. More...
 
struct  LvArray::NumericLimitsNC< T >
 The same as NumericLimits except the entries are not static or constexpr. More...
 

Namespaces

 LvArray
 The top level namespace.
 

Functions

template<typename OUTPUT , typename INPUT >
std::enable_if_t< internal::canEasilyConvert< INPUT, OUTPUT >, OUTPUT > constexpr LvArray::integerConversion (INPUT input)
 
template<typename OUTPUT , typename INPUT >
std::enable_if_t< !internal::canEasilyConvert< INPUT, OUTPUT > &&std::is_unsigned< INPUT >::value, OUTPUT > LvArray::integerConversion (INPUT input)
 
template<typename OUTPUT , typename INPUT >
std::enable_if_t< !internal::canEasilyConvert< INPUT, OUTPUT > &&!std::is_unsigned< INPUT >::value, OUTPUT > LvArray::integerConversion (INPUT input)
 

Detailed Description

Contains portable access to std::numeric_limits and functions for converting between integral types.

Definition in file limits.hpp.