]>
Commit | Line | Data |
---|---|---|
20752884 | 1 | // Wrapper for underlying C-language localization -*- C++ -*- |
2 | ||
71e45bc2 | 3 | // Copyright (C) 2001, 2002, 2005, 2009, 2010, 2011 |
4 | // Free Software Foundation, Inc. | |
20752884 | 5 | // |
6 | // This file is part of the GNU ISO C++ Library. This library is free | |
7 | // software; you can redistribute it and/or modify it under the | |
8 | // terms of the GNU General Public License as published by the | |
6bc9506f | 9 | // Free Software Foundation; either version 3, or (at your option) |
20752884 | 10 | // any later version. |
11 | ||
12 | // This library is distributed in the hope that it will be useful, | |
13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | // GNU General Public License for more details. | |
16 | ||
6bc9506f | 17 | // Under Section 7 of GPL version 3, you are granted additional |
18 | // permissions described in the GCC Runtime Library Exception, version | |
19 | // 3.1, as published by the Free Software Foundation. | |
20 | ||
21 | // You should have received a copy of the GNU General Public License and | |
22 | // a copy of the GCC Runtime Library Exception along with this program; | |
23 | // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see | |
24 | // <http://www.gnu.org/licenses/>. | |
20752884 | 25 | |
5846aeac | 26 | /** @file bits/c++locale.h |
944beac5 | 27 | * This is an internal header file, included by other library headers. |
5846aeac | 28 | * Do not attempt to use it directly. @headername{locale} |
944beac5 | 29 | */ |
30 | ||
20752884 | 31 | // |
32 | // ISO C++ 14882: 22.8 Standard locale categories. | |
33 | // | |
34 | ||
35 | // Written by Benjamin Kosnik <bkoz@redhat.com> | |
36 | ||
654eba20 | 37 | #include <clocale> |
c099f5df | 38 | #include <langinfo.h> // For codecvt |
39 | #include <iconv.h> // For codecvt using iconv, iconv_t | |
40 | #include <nl_types.h> // For messages | |
654eba20 | 41 | |
2948dd21 | 42 | namespace std _GLIBCXX_VISIBILITY(default) |
43 | { | |
44 | _GLIBCXX_BEGIN_NAMESPACE_VERSION | |
1069247d | 45 | |
5f8a31fe | 46 | typedef int* __c_locale; |
1069247d | 47 | |
2948dd21 | 48 | _GLIBCXX_END_NAMESPACE_VERSION |
49 | } // namespace | |
1069247d | 50 |