RESTinio
|
An implementation of producer of qvalue. More...
#include <basics.hpp>
Classes | |
class | digit_consumer_t |
A helper class to be used to accumulate actual integer while when the next digit is extracted from the input stream. More... | |
struct | zero_initialized_unit_t |
Public Member Functions | |
RESTINIO_NODISCARD expected_t< result_type, parse_error_t > | try_parse (source_t &from) const noexcept |
Additional Inherited Members | |
![]() | |
using | result_type = qvalue_t |
![]() | |
static constexpr entity_type_t | entity_type |
An implementation of producer of qvalue.
Handles the following rule:
qvalue = ( "0" [ "." 0*3DIGIT ] ) / ( "1" [ "." 0*3("0") ] )
and produces an instance of qvalue_t.
See: https://tools.ietf.org/html/rfc7231
Definition at line 1162 of file basics.hpp.
|
inlinenoexcept |
Definition at line 1193 of file basics.hpp.