MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / make_string_view

Function make_string_view

3rd/wildcards/include/cx/string_view.hpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93template <typename T, std::size_t N>
94constexpr basic_string_view<T> make_string_view(const T (&str)[N])
95{
96 return {str, N - 1};
97}
98
99template <typename T>
100constexpr basic_string_view<T> make_string_view(const T* str, std::size_t s)

Callers 1

operator"" _wcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected