mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
31 lines
647 B
C++
31 lines
647 B
C++
#ifndef SPROUT_STRING_ALIAS_HPP
|
|
#define SPROUT_STRING_ALIAS_HPP
|
|
|
|
#include <cstddef>
|
|
#include <sprout/config.hpp>
|
|
#include <sprout/string.hpp>
|
|
|
|
namespace sprout {
|
|
//
|
|
// string
|
|
//
|
|
template<std::size_t N>
|
|
using string = sprout::basic_string<char, N>;
|
|
//
|
|
// wstring
|
|
//
|
|
template<std::size_t N>
|
|
using wstring = sprout::basic_string<wchar_t, N>;
|
|
//
|
|
// u16string
|
|
//
|
|
template<std::size_t N>
|
|
using u16string = sprout::basic_string<char16_t, N>;
|
|
//
|
|
// u32string
|
|
//
|
|
template<std::size_t N>
|
|
using u32string = sprout::basic_string<char32_t, N>;
|
|
} // namespace sprout
|
|
|
|
#endif // #ifndef SPROUT_STRING_ALIAS_HPP
|