Browse Source

add u32string_view typedef.

master
roker 8 months ago
parent
commit
c0c278aad9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/string_view.hh

+ 2
- 0
src/string_view.hh View File

@ -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