zstring_view: Add class
This adds a string_view variant that guarantees the nul terminating
character of the string is always present. Useful for c-style interface
interop.
Change-Id: Ic918d2f59e2a7a983354a7b0b4755cb033a1db5e
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/zstring_view.cpp b/src/zstring_view.cpp
new file mode 100644
index 0000000..f3add60
--- /dev/null
+++ b/src/zstring_view.cpp
@@ -0,0 +1,12 @@
+#include <stdplus/zstring_view.hpp>
+
+namespace stdplus
+{
+
+template class basic_zstring_view<char>;
+template class basic_zstring_view<char8_t>;
+template class basic_zstring_view<char16_t>;
+template class basic_zstring_view<char32_t>;
+template class basic_zstring_view<wchar_t>;
+
+} // namespace stdplus