diff --git a/src/string_view.hh b/src/string_view.hh index 9ed099f..8f85ca2 100644 --- a/src/string_view.hh +++ b/src/string_view.hh @@ -14,6 +14,7 @@ namespace pEp typedef std::string_view string_view; typedef std::u16string_view u16string_view; + typedef std::u32string_view u32string_view; } #else // in C++11 / C++14 use boost::string_view instead. @@ -26,6 +27,7 @@ namespace pEp typedef boost::string_view string_view; typedef boost::u16string_view u16string_view; + typedef boost::u32string_view u32string_view; // boost::string_view does not provide these operations, neither by boost nor by the stdlib. :-( template