| 1 |
/* Copyright (C) 2015 Povilas Kanapickas <[email protected]> |
| 2 |
|
| 3 |
This file is part of cppreference-doc |
| 4 |
|
| 5 |
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 |
| 6 |
Unported License. To view a copy of this license, visit |
| 7 |
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative |
| 8 |
Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. |
| 9 |
|
| 10 |
Permission is granted to copy, distribute and/or modify this document |
| 11 |
under the terms of the GNU Free Documentation License, Version 1.3 or |
| 12 |
any later version published by the Free Software Foundation; with no |
| 13 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. |
| 14 |
*/ |
| 15 |
|
| 16 |
#ifndef CPPREFERENCE_CWCTYPE_H |
| 17 |
#define CPPREFERENCE_CWCTYPE_H |
| 18 |
|
| 19 |
namespace std { |
| 20 |
|
| 21 |
typedef int wctrans_t; // actually unspecified |
| 22 |
typedef int wctype_t; // actually unspefified |
| 23 |
typedef int wint_t; // actually unspecified |
| 24 |
|
| 25 |
#define WEOF 0 |
| 26 |
#define WCHAR_MIN 0 |
| 27 |
#define WCHAR_MAX 0 |
| 28 |
|
| 29 |
int iswalnum(std::wint_t ch); |
| 30 |
int iswalpha(std::wint_t ch); |
| 31 |
#if CPPREFERENCE_STDVER>= 2011 |
| 32 |
int iswblank(std::wint_t ch); |
| 33 |
#endif |
| 34 |
int iswcntrl(std::wint_t ch); |
| 35 |
int iswdigit(std::wint_t ch); |
| 36 |
int iswgraph(std::wint_t ch); |
| 37 |
int iswlower(std::wint_t ch); |
| 38 |
int iswprint(std::wint_t ch); |
| 39 |
int iswpunct(std::wint_t ch); |
| 40 |
int iswspace(std::wint_t ch); |
| 41 |
int iswupper(std::wint_t ch); |
| 42 |
int iswxdigit(std::wint_t ch); |
| 43 |
std::wctype_t wctype(const char* str); |
| 44 |
int iswctype(std::wint_t wc, std::wctype_t desc); |
| 45 |
int towlower(std::wint_t ch); |
| 46 |
int towupper(std::wint_t ch); |
| 47 |
std::wctrans_t wctrans(const char* str); |
| 48 |
std::wint_t towctrans(std::wint_t wc, std::wctrans_t desc); |
| 49 |
|
| 50 |
} // namespace std |
| 51 |
|
| 52 |
#endif // CPPREFERENCE_CWCTYPE_H |