28 #ifndef ENCODESURROGATEPAIRACTION_H
29 #define ENCODESURROGATEPAIRACTION_H
32 namespace jmespath {
namespace parser {
56 unicodeChar += (highSurrogate & 0x03FF) << 10;
57 unicodeChar += (lowSurrogate & 0x03FF);
62 #endif // ENCODESURROGATEPAIRACTION_H
result_type operator()(UnicodeChar const &highSurrogate, UnicodeChar const &lowSurrogate) const
Encodes a surrogate pair character.
Definition: encodesurrogatepairaction.h:52
UnicodeChar result_type
The action's result type.
Definition: encodesurrogatepairaction.h:44
The EncodeSurrogatePairAction class is a functor for encoding surrogate pair characters in UTF-32...
Definition: encodesurrogatepairaction.h:38
char32_t UnicodeChar
32 bit character type
Definition: types.h:48