RESTinio
Loading...
Searching...
No Matches
restinio::easy_parser::impl::non_negative_decimal_number_producer_t< T > Class Template Reference

A producer for the case when a non-negative decimal number is expected in the input stream. More...

#include <easy_parser.hpp>

Inheritance diagram for restinio::easy_parser::impl::non_negative_decimal_number_producer_t< T >:
restinio::easy_parser::impl::producer_tag< T > restinio::easy_parser::impl::non_negative_decimal_number_producer_with_digits_limit_t< T >

Public Member Functions

expected_t< T, parse_error_ttry_parse (source_t &from) const noexcept

Additional Inherited Members

Public Types inherited from restinio::easy_parser::impl::producer_tag< T >
using result_type
Static Public Attributes inherited from restinio::easy_parser::impl::producer_tag< T >
static constexpr entity_type_t entity_type

Detailed Description

template<typename T>
class restinio::easy_parser::impl::non_negative_decimal_number_producer_t< T >

A producer for the case when a non-negative decimal number is expected in the input stream.

In the case of success returns the extracted number.

Since
v.0.6.2

Definition at line 2571 of file easy_parser.hpp.

Member Function Documentation

◆ try_parse()

template<typename T>
expected_t< T, parse_error_t > restinio::easy_parser::impl::non_negative_decimal_number_producer_t< T >::try_parse ( source_t & from) const
inlinenodiscardnoexcept

Definition at line 2576 of file easy_parser.hpp.


The documentation for this class was generated from the following file: