RESTinio
|
A producer for the case when a non-negative decimal number is expected in the input stream. More...
#include <easy_parser.hpp>
Public Member Functions | |
non_negative_decimal_number_producer_with_digits_limit_t (digits_to_consume_t digits_limit) | |
RESTINIO_NODISCARD expected_t< T, parse_error_t > | try_parse (source_t &from) const noexcept |
![]() | |
RESTINIO_NODISCARD expected_t< T, parse_error_t > | try_parse (source_t &from) const noexcept |
Private Attributes | |
digits_to_consume_t | m_digits_limit |
Additional Inherited Members | |
![]() | |
using | result_type = T |
![]() | |
static constexpr entity_type_t | entity_type |
A producer for the case when a non-negative decimal number is expected in the input stream.
This class takes into account a number of digits to be consumed.
In the case of success returns the extracted number.
Definition at line 2598 of file easy_parser.hpp.
|
inline |
Definition at line 2604 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 2611 of file easy_parser.hpp.
|
private |
Definition at line 2601 of file easy_parser.hpp.