types: Add sstring_view type alias

This commit is contained in:
Tomasz Grabiec
2015-02-12 16:53:54 +01:00
parent b3544238d1
commit 3aea084f2b

View File

@@ -20,6 +20,7 @@
using bytes = basic_sstring<char, uint32_t, 31>;
using bytes_view = std::experimental::string_view;
using bytes_opt = std::experimental::optional<bytes>;
using sstring_view = std::experimental::string_view;
sstring to_hex(const bytes& b);
sstring to_hex(const bytes_opt& b);