DxLibEx
abs.hpp File Reference
#include "dxlibex/config/defines.h"
#include <cstdlib>
#include "dxlibex/type_traits/enable_if.hpp"
#include <type_traits>
Include dependency graph for abs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 dxle
 

Functions

DXLE_CONSTEXPR int dxle::abs (int j) DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR long dxle::labs (long j) DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR long long dxle::llabs (long long j) DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR long dxle::abs (long j) DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR long long dxle::abs (long long j) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename IntType , enable_if_t< std::is_integral< IntType >::value &&std::is_signed< IntType >::value, std::nullptr_t > = nullptr>
DXLE_CONSTEXPR IntType dxle::abs (IntType j) DXLE_NOEXCEPT_OR_NOTHROW