summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/include/bits/codecvt.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2002-09-17 04:04:04 +0000
committerkan <kan@FreeBSD.org>2002-09-17 04:04:04 +0000
commitdc1db5ec483d00a99f27c767c2b5f735a815f9ab (patch)
tree11495202807dd843ab9dfbedfd9e9a796c6b817f /contrib/libstdc++/include/bits/codecvt.h
parenta1d331aa1f1bf4bf54fe647a5da21a67ed1dce95 (diff)
parentd28dfe2607c93215301923596ce65ae6df3d4cd9 (diff)
downloadFreeBSD-src-dc1db5ec483d00a99f27c767c2b5f735a815f9ab.zip
FreeBSD-src-dc1db5ec483d00a99f27c767c2b5f735a815f9ab.tar.gz
This commit was generated by cvs2svn to compensate for changes in r103447,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/libstdc++/include/bits/codecvt.h')
-rw-r--r--contrib/libstdc++/include/bits/codecvt.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/contrib/libstdc++/include/bits/codecvt.h b/contrib/libstdc++/include/bits/codecvt.h
index 506752f..423679a 100644
--- a/contrib/libstdc++/include/bits/codecvt.h
+++ b/contrib/libstdc++/include/bits/codecvt.h
@@ -1,6 +1,6 @@
// Locale support (codecvt) -*- C++ -*-
-// Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -66,10 +66,10 @@
{
public:
// Types:
- typedef codecvt_base::result result;
- typedef _InternT intern_type;
- typedef _ExternT extern_type;
- typedef _StateT state_type;
+ typedef codecvt_base::result result;
+ typedef _InternT intern_type;
+ typedef _ExternT extern_type;
+ typedef _StateT state_type;
// 22.2.1.5.1 codecvt members
result
@@ -159,17 +159,17 @@
{
public:
// Types:
- typedef codecvt_base::result result;
- typedef _InternT intern_type;
- typedef _ExternT extern_type;
- typedef _StateT state_type;
+ typedef codecvt_base::result result;
+ typedef _InternT intern_type;
+ typedef _ExternT extern_type;
+ typedef _StateT state_type;
- // Data Members:
- static locale::id id;
+ public:
+ static locale::id id;
explicit
codecvt(size_t __refs = 0)
- : __codecvt_abstract_base<_InternT,_ExternT,_StateT> (__refs) { }
+ : __codecvt_abstract_base<_InternT, _ExternT, _StateT> (__refs) { }
protected:
virtual
@@ -215,11 +215,11 @@
{
public:
// Types:
- typedef char intern_type;
- typedef char extern_type;
- typedef mbstate_t state_type;
+ typedef char intern_type;
+ typedef char extern_type;
+ typedef mbstate_t state_type;
- // Data Members:
+ public:
static locale::id id;
explicit
@@ -267,12 +267,12 @@
{
public:
// Types:
- typedef wchar_t intern_type;
- typedef char extern_type;
- typedef mbstate_t state_type;
+ typedef wchar_t intern_type;
+ typedef char extern_type;
+ typedef mbstate_t state_type;
- // Data Members:
- static locale::id id;
+ public:
+ static locale::id id;
explicit
codecvt(size_t __refs = 0);
@@ -320,8 +320,9 @@
{
public:
explicit
- codecvt_byname(const char*, size_t __refs = 0)
+ codecvt_byname(const char* __s, size_t __refs = 0)
: codecvt<_InternT, _ExternT, _StateT>(__refs) { }
+
protected:
virtual
~codecvt_byname() { }
OpenPOWER on IntegriCloud