diff --git a/view.hpp b/view.hpp index 78db55ee..4072e598 100644 --- a/view.hpp +++ b/view.hpp @@ -87,6 +87,13 @@ namespace util { return view {first, last}; } + template + auto + make_cview (T *first, T *last) + { + return view {first, last}; + } + // string conversions view make_view (const char *str); view make_view (char *str);