Debian Codegraph @

headers/cuchar

raw
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_CUCHAR_H
17 #define CPPREFERENCE_CUCHAR_H
18
19 #if CPPREFERENCE_STDVER>= 2011
20
21 #define __STDC_UTF_16__
22 #define __STDC_UTF_32__
23 namespace std {
24
25 std::size_t mbrtoc16(char16_t* pc16,
26 const char* s,
27 std::size_t n,
28 std::mbstate_t* ps);
29 std::size_t mbrtoc32(char32_t* pc32,
30 const char* s,
31 std::size_t n,
32 std::mbstate_t* ps);
33 std::size_t c16rtomb(char* s, char16_t c16, std::mbstate_t* ps);
34 std::size_t c32rtomb(char* s, char32_t c32, std::mbstate_t* ps);
35
36 } // namespace std
37
38 #endif // CPPREFERENCE_STDVER>= 2011
39
40 #endif // CPPREFERENCE_CUCHAR_H