| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
#ifndef _VSTRING_FWD_H |
| 31 |
#define _VSTRING_FWD_H 1 |
| 32 |
|
| 33 |
#ifdef _GLIBCXX_SYSHDR |
| 34 |
#pragma GCC system_header |
| 35 |
#endif |
| 36 |
|
| 37 |
#include <bits/requires_hosted.h> |
| 38 |
|
| 39 |
#include <bits/c++config.h> |
| 40 |
#include <bits/char_traits.h> |
| 41 |
#include <bits/allocator.h> |
| 42 |
|
| 43 |
namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) |
| 44 |
{ |
| 45 |
_GLIBCXX_BEGIN_NAMESPACE_VERSION |
| 46 |
|
| 47 |
template<typename _CharT, typename _Traits, typename _Alloc> |
| 48 |
class __sso_string_base; |
| 49 |
|
| 50 |
template<typename _CharT, typename _Traits, typename _Alloc> |
| 51 |
class __rc_string_base; |
| 52 |
|
| 53 |
template<typename _CharT, typename _Traits = std::char_traits<_CharT>, |
| 54 |
typename _Alloc = std::allocator<_CharT>, |
| 55 |
template |
| 56 |
<typename, typename, typename> class _Base = __sso_string_base> |
| 57 |
class __versa_string; |
| 58 |
|
| 59 |
typedef __versa_string<char> __vstring; |
| 60 |
typedef __vstring __sso_string; |
| 61 |
typedef |
| 62 |
__versa_string<char, std::char_traits<char>, |
| 63 |
std::allocator<char>, __rc_string_base> __rc_string; |
| 64 |
|
| 65 |
typedef __versa_string<wchar_t> __wvstring; |
| 66 |
typedef __wvstring __wsso_string; |
| 67 |
typedef |
| 68 |
__versa_string<wchar_t, std::char_traits<wchar_t>, |
| 69 |
std::allocator<wchar_t>, __rc_string_base> __wrc_string; |
| 70 |
|
| 71 |
#if __cplusplus >= 201103L |
| 72 |
typedef __versa_string<char16_t> __u16vstring; |
| 73 |
typedef __u16vstring __u16sso_string; |
| 74 |
typedef |
| 75 |
__versa_string<char16_t, std::char_traits<char16_t>, |
| 76 |
std::allocator<char16_t>, __rc_string_base> __u16rc_string; |
| 77 |
|
| 78 |
typedef __versa_string<char32_t> __u32vstring; |
| 79 |
typedef __u32vstring __u32sso_string; |
| 80 |
typedef |
| 81 |
__versa_string<char32_t, std::char_traits<char32_t>, |
| 82 |
std::allocator<char32_t>, __rc_string_base> __u32rc_string; |
| 83 |
#endif |
| 84 |
|
| 85 |
_GLIBCXX_END_NAMESPACE_VERSION |
| 86 |
} |
| 87 |
|
| 88 |
#endif |