|
RESTinio
|
A template for consumers that store a value to the specified field of a target object. More...
#include <easy_parser.hpp>
Public Member Functions | |
| field_setter_consumer_t (pointer_t ptr) noexcept | |
| void | consume (C &to, F &&value) const noexcept(noexcept(to.*m_ptr=std::move(value))) |
Private Types | |
| using | pointer_t = F C::* |
Private Attributes | |
| pointer_t | m_ptr |
Additional Inherited Members | |
Static Public Attributes inherited from restinio::easy_parser::impl::consumer_tag | |
| static constexpr entity_type_t | entity_type = entity_type_t::consumer |
A template for consumers that store a value to the specified field of a target object.
| F | type of the target field |
| C | type of the target object. |
Definition at line 2968 of file easy_parser.hpp.
|
private |
Definition at line 2970 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 2975 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 2984 of file easy_parser.hpp.
|
private |
Definition at line 2972 of file easy_parser.hpp.