RESTinio
|
A consumer for the case when a specific value should be used as the result instead of the value produced on the previous step. More...
#include <easy_parser.hpp>
Public Member Functions | |
template<typename Result_Arg> | |
just_result_consumer_t (Result_Arg &&result) noexcept(noexcept(Result_Type{std::forward< Result_Arg >(result)})) | |
template<typename Target_Type, typename Value> | |
void | consume (Target_Type &dest, Value &&) const |
Private Member Functions | |
Result_Type | make_copy_of_result () const noexcept(noexcept(Result_Type{m_result})) |
Private Attributes | |
Result_Type | m_result |
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 consumer for the case when a specific value should be used as the result instead of the value produced on the previous step.
Definition at line 2892 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 2911 of file easy_parser.hpp.
|
inline |
Definition at line 2918 of file easy_parser.hpp.
|
inlineprivatenoexcept |
Definition at line 2903 of file easy_parser.hpp.
|
private |
Definition at line 2894 of file easy_parser.hpp.