39 #pragma GCC system_header
43 #if _GLIBCXX_HAVE_WCHAR_H
47 #ifndef _GLIBCXX_CWCHAR
48 #define _GLIBCXX_CWCHAR 1
52 #ifndef _GLIBCXX_HAVE_MBSTATE_T
88 #if _GLIBCXX_HAVE_VFWSCANF
92 #if _GLIBCXX_HAVE_VSWSCANF
96 #if _GLIBCXX_HAVE_VWSCANF
117 #if _GLIBCXX_HAVE_WCSTOF
133 #if _GLIBCXX_USE_WCHAR_T
135 namespace std _GLIBCXX_VISIBILITY(default)
137 _GLIBCXX_BEGIN_NAMESPACE_VERSION
157 #ifndef _GLIBCXX_HAVE_BROKEN_VSWPRINTF
163 #if _GLIBCXX_HAVE_VFWSCANF
166 #ifndef _GLIBCXX_HAVE_BROKEN_VSWPRINTF
169 #if _GLIBCXX_HAVE_VSWSCANF
173 #if _GLIBCXX_HAVE_VWSCANF
190 #if _GLIBCXX_HAVE_WCSTOF
210 #ifndef __CORRECT_ISO_CPP_WCHAR_H_PROTO
212 wcschr(
wchar_t* __p,
wchar_t __c)
213 {
return wcschr(const_cast<const wchar_t*>(__p), __c); }
216 wcspbrk(
wchar_t* __s1,
const wchar_t* __s2)
217 {
return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
220 wcsrchr(
wchar_t* __p,
wchar_t __c)
221 {
return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
224 wcsstr(
wchar_t* __s1,
const wchar_t* __s2)
225 {
return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
228 wmemchr(
wchar_t* __p,
wchar_t __c,
size_t __n)
229 {
return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); }
232 _GLIBCXX_END_NAMESPACE_VERSION
243 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
244 extern "C" long double
245 (wcstold)(
const wchar_t * __restrict,
wchar_t ** __restrict)
throw ();
247 #if !_GLIBCXX_USE_C99_DYNAMIC
250 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
251 extern "C" long long int
252 (wcstoll)(
const wchar_t * __restrict,
wchar_t ** __restrict, int)
throw ();
253 extern "C" unsigned long long int
254 (wcstoull)(
const wchar_t * __restrict,
wchar_t ** __restrict, int)
throw ();
256 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
264 using ::__gnu_cxx::wcstold;
265 using ::__gnu_cxx::wcstoll;
266 using ::__gnu_cxx::wcstoull;
271 #endif //_GLIBCXX_USE_WCHAR_T
273 #if __cplusplus >= 201103L
275 #ifdef _GLIBCXX_USE_WCHAR_T
279 #if _GLIBCXX_HAVE_WCSTOF
282 #if _GLIBCXX_HAVE_VFWSCANF
285 #if _GLIBCXX_HAVE_VSWSCANF
288 #if _GLIBCXX_HAVE_VWSCANF
299 #endif // _GLIBCXX_USE_WCHAR_T