Sprout/sprout/string/alias.hpp

36 lines
808 B
C++
Raw Normal View History

2011-12-04 19:06:45 +00:00
#ifndef SPROUT_STRING_ALIAS_HPP
#define SPROUT_STRING_ALIAS_HPP
#include <sprout/config.hpp>
#if SPROUT_USE_TEMPLATE_ALIASES
2012-04-14 10:06:21 +00:00
# include <cstddef>
# include <sprout/string/string.hpp>
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
2011-12-04 19:06:45 +00:00
namespace sprout {
2012-04-14 10:06:21 +00:00
#if SPROUT_USE_TEMPLATE_ALIASES
2011-12-04 19:06:45 +00:00
//
// 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>;
#endif // #if SPROUT_USE_TEMPLATE_ALIASES
2012-04-14 10:06:21 +00:00
} // namespace sprout
2011-12-04 19:06:45 +00:00
#endif // #ifndef SPROUT_STRING_ALIAS_HPP