Browse Source

add u32string_view typedef.

master
roker 4 years ago
parent
commit
c0c278aad9
  1. 2
      src/string_view.hh

2
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<class CharT>

Loading…
Cancel
Save