diff options
Diffstat (limited to 'resources/provider-header.txt')
-rw-r--r-- | resources/provider-header.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/provider-header.txt b/resources/provider-header.txt index c947eec4..5cc22e76 100644 --- a/resources/provider-header.txt +++ b/resources/provider-header.txt @@ -7,4 +7,12 @@ using namespace emoji; +// a null terminated string_view +template<size_t N> +static consteval std::u16string_view +null_literal(const char16_t (&lit)[N]) +{ + return std::u16string_view(lit, N); +} + |