c_locale.h revision 169691
11849Swollman// Wrapper for underlying C-language localization -*- C++ -*- 21849Swollman 31849Swollman// Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. 41849Swollman// 51849Swollman// This file is part of the GNU ISO C++ Library. This library is free 61849Swollman// software; you can redistribute it and/or modify it under the 71849Swollman// terms of the GNU General Public License as published by the 81849Swollman// Free Software Foundation; either version 2, or (at your option) 91849Swollman// any later version. 101849Swollman 111849Swollman// This library is distributed in the hope that it will be useful, 121849Swollman// but WITHOUT ANY WARRANTY; without even the implied warranty of 131849Swollman// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 141849Swollman// GNU General Public License for more details. 151849Swollman 161849Swollman// You should have received a copy of the GNU General Public License along 171849Swollman// with this library; see the file COPYING. If not, write to the Free 181849Swollman// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 191849Swollman// USA. 201849Swollman 211849Swollman// As a special exception, you may use this file as part of a free software 221849Swollman// library without restriction. Specifically, if other files instantiate 231849Swollman// templates or use macros or inline functions from this file, or you compile 241849Swollman// this file and link it with other files to produce an executable, this 251849Swollman// file does not by itself cause the resulting executable to be covered by 261849Swollman// the GNU General Public License. This exception does not however 271849Swollman// invalidate any other reasons why the executable file might be covered by 281849Swollman// the GNU General Public License. 291849Swollman 301849Swollman/** @file c++locale.h 311849Swollman * This is an internal header file, included by other library headers. 321849Swollman * You should not attempt to use it directly. 331849Swollman */ 341849Swollman 351849Swollman// 361849Swollman// ISO C++ 14882: 22.8 Standard locale categories. 371849Swollman// 381849Swollman 391849Swollman// Written by Benjamin Kosnik <bkoz@redhat.com> 401849Swollman 411849Swollman#include <clocale> 421849Swollman#include <langinfo.h> // For codecvt 431849Swollman#include <iconv.h> // For codecvt using iconv, iconv_t 441849Swollman#include <nl_types.h> // For messages 451849Swollman 461849Swollman_GLIBCXX_BEGIN_NAMESPACE(std) 47 48 typedef int* __c_locale; 49 50_GLIBCXX_END_NAMESPACE 51 52