RESTinio
|
A transformator that uses a user supplied function/functor for conversion a value from one type to another. More...
#include <easy_parser.hpp>
Public Member Functions | |
template<typename Convert_Arg> | |
convert_transformer_t (Convert_Arg &&converter) noexcept(noexcept(Converter{std::forward< Convert_Arg >(converter)})) | |
template<typename Input> | |
auto | transform (Input &&input) const noexcept(noexcept(m_converter(std::forward< Input >(input)))) |
Performs the transformation by calling the converter. |
Private Attributes | |
Converter | m_converter |
Additional Inherited Members | |
Public Types inherited from restinio::easy_parser::impl::transformer_tag< Output_Type > | |
using | result_type |
Static Public Attributes inherited from restinio::easy_parser::impl::transformer_tag< Output_Type > | |
static constexpr entity_type_t | entity_type |
A transformator that uses a user supplied function/functor for conversion a value from one type to another.
Definition at line 3174 of file easy_parser.hpp.
|
inlinenoexcept |
Definition at line 3180 of file easy_parser.hpp.
|
inlinenodiscardnoexcept |
Performs the transformation by calling the converter.
Definition at line 3196 of file easy_parser.hpp.
|
private |
Definition at line 3176 of file easy_parser.hpp.