Table Of Contents

Previous topic

string

Next topic

u16string

This Page

wstring

Interface

template<std::size_t N>
using wstring = sprout::basic_string<wchar_t, N>;

Examples

#include <type_traits>
#include <sprout/string.hpp>
using namespace sprout;

using type = wstring<8>;
static_assert(std::is_same<type::value_type, wchar_t>::value, "element type of wstring is charwchar_t