libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Typedefs | Functions
numeric.hpp File Reference
#include <qi/assert.hpp>
#include <boost/numeric/conversion/converter.hpp>
#include <cstdint>
#include <limits>
#include <stdexcept>

Go to the source code of this file.

Namespaces

 qi
 Deprecated in 2.5. Use int8_t from <cstdint>.
 

Typedefs

using qi::NumericPositiveOverflow = boost::numeric::positive_overflow
 
using qi::NumericNegativeOverflow = boost::numeric::negative_overflow
 

Functions

template<typename Dst , typename Src >
Dst qi::numericConvert (Src v)
 
template<typename Dst , typename Src >
Dst qi::numericConvertBound (Src v)
 
template<typename Dst , typename Src >
bool qi::numericIsInRange (Src v)