1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/utility/string_ref/alias.hpp

30 lines
1 KiB
C++
Raw Normal View History

2013-08-08 09:54:33 +00:00
/*=============================================================================
2016-02-25 09:48:28 +00:00
Copyright (c) 2011-2016 Bolero MURAKAMI
2013-08-08 09:54:33 +00:00
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_UTILITY_STRING_REF_ALIAS_HPP
#define SPROUT_UTILITY_STRING_REF_ALIAS_HPP
#include <sprout/config.hpp>
#include <sprout/utility/string_ref/string_ref.hpp>
namespace sprout {
//
// string_ref
// wstring_ref
2013-03-31 04:39:26 +00:00
// u16string_ref
// u32string_ref
//
2013-03-31 04:39:26 +00:00
typedef sprout::basic_string_ref<char> string_ref;
typedef sprout::basic_string_ref<wchar_t> wstring_ref;
#if SPROUT_USE_UNICODE_LITERALS
2013-03-31 04:39:26 +00:00
typedef sprout::basic_string_ref<char16_t> u16string_ref;
typedef sprout::basic_string_ref<char32_t> u32string_ref;
#endif
} // namespace sprout
#endif // #ifndef SPROUT_UTILITY_STRING_REF_ALIAS_HPP