28 #ifndef APPENDUTF8ACTION_H
29 #define APPENDUTF8ACTION_H
32 namespace jmespath {
namespace parser {
55 auto outIt = std::back_inserter(utf8String);
56 boost::utf8_output_iterator<decltype(outIt)> utf8OutIt(outIt);
57 *utf8OutIt++ = utf32Char;
61 #endif // APPENDUTF8ACTION_H
void result_type
The action's result type.
Definition: appendutf8action.h:44
std::basic_string< Char > String
UTF-8 encoded string type.
Definition: types.h:44
The AppendUtf8Action class is a functor for appending UTF-32 characters to UTF-8 encoded strings...
Definition: appendutf8action.h:38
char32_t UnicodeChar
32 bit character type
Definition: types.h:48
result_type operator()(String &utf8String, UnicodeChar utf32Char) const
Appends the utf32Char character to the utf8String encoded in UTF-8.
Definition: appendutf8action.h:52