RESTinio
|
A producer that expects a fragment in the input and produces boolean value if that fragment is found. More...
#include <easy_parser.hpp>
Public Member Functions | |
caseless_exact_fixed_size_fragment_producer_t (const char(&f)[Size]) | |
RESTINIO_NODISCARD expected_t< bool, parse_error_t > | try_parse (source_t &from) |
Private Attributes | |
std::array< char, Size-1u > | m_fragment |
Additional Inherited Members | |
![]() | |
using | result_type = bool |
![]() | |
static constexpr entity_type_t | entity_type |
A producer that expects a fragment in the input and produces boolean value if that fragment is found.
The comparison is performed in case-insensitive manner.
This class is indended for working with fixed-size string literals with terminating null-symbol.
Definition at line 3462 of file easy_parser.hpp.
|
inline |
Definition at line 3471 of file easy_parser.hpp.
|
inline |
Definition at line 3485 of file easy_parser.hpp.
|
private |
Definition at line 3468 of file easy_parser.hpp.