RESTinio
|
Helper for parsing integer values. More...
Go to the source code of this file.
Classes | |
struct | restinio::impl::check_positive_extremum |
struct | restinio::impl::check_negative_extremum |
struct | restinio::impl::overflow_controlled_integer_accumulator_details::extremum_value< T, check_positive_extremum > |
struct | restinio::impl::overflow_controlled_integer_accumulator_details::extremum_value< T, check_negative_extremum > |
class | restinio::impl::overflow_controlled_integer_accumulator_t< T, Multiplier, Extremum_Type > |
Helper class for accumulating integer value during parsing it from string (with check for overflow). More... | |
Namespaces | |
namespace | restinio |
namespace | restinio::impl |
namespace | restinio::impl::overflow_controlled_integer_accumulator_details |
Functions | |
template<typename T , typename Storage_Type > | |
RESTINIO_NODISCARD std::enable_if< std::is_signed< T >::value, bool >::type | restinio::impl::overflow_controlled_integer_accumulator_details::is_greater_than_maximum (Storage_Type v, Storage_Type maximum) |
template<typename T , typename Storage_Type > | |
RESTINIO_NODISCARD std::enable_if<!std::is_signed< T >::value, bool >::type | restinio::impl::overflow_controlled_integer_accumulator_details::is_greater_than_maximum (Storage_Type, Storage_Type) |
Helper for parsing integer values.
Definition in file overflow_controlled_integer_accumulator.hpp.