staticlib_support  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Namespaces | Functions
is_integer.hpp File Reference
#include <cstdint>
#include <ios>
#include <limits>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  staticlib
namespace  staticlib::support

Functions

template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_int32 (T val)
 Checks that specified unsigned integer lies between <int32_t>::min() and <int32_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_uint32 (T val)
 Checks that specified unsigned integer lies between 0 (inclusive) and <uint32_t>::max()
template<typename T >
bool staticlib::support::is_uint32_positive (T val)
 Checks that specified integer lies between 0 (exclusive) and <uint32_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_int16 (T val)
 Checks that specified unsigned integer lies between <int16_t>::min() and <int16_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_uint16 (T val)
 Checks that specified unsigned integer lies between 0 (inclusive) and <uint16_t>::max()
template<typename T >
bool staticlib::support::is_uint16_positive (T val)
 Checks that specified integer lies between 0 (exclusive) and <uint16_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_int64 (T val)
 Checks that specified unsigned integer lies between <int64_t>::min() and <int64_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_uint64 (T val)
 Checks that specified unsigned integer lies between 0 (inclusive) and <uint64_t>::max()
template<typename T >
bool staticlib::support::is_uint64_positive (T val)
 Checks that specified integer lies between 0 (exclusive) and <uint64_t>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_streamsize (T val)
 Checks that specified unsigned integer lies between <streamsize>::min() and <streamsize>::max()
template<typename T >
std::enable_if
< std::is_unsigned< T >::value,
bool >::type 
staticlib::support::is_sizet (T val)
 Checks that specified unsigned integer lies between 0 (inclusive) and <size_t>::max()
template<typename T >
bool staticlib::support::is_sizet_positive (T val)
 Checks that specified integer lies between 0 (exclusive) and <uint32_t>::max()