aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>2000-12-22 11:06:17 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-12-22 11:06:17 +0000
commite63a5d07add5b586a3ac921f534227fb7afe2df4 (patch)
tree16643b6d8724c04c7c126b4a4ed6a04e625935f0
parent0a31609b5a93a7195c5a8a35f8111ea4f66e9487 (diff)
downloadgcc-e63a5d07add5b586a3ac921f534227fb7afe2df4.zip
gcc-e63a5d07add5b586a3ac921f534227fb7afe2df4.tar.gz
gcc-e63a5d07add5b586a3ac921f534227fb7afe2df4.tar.bz2
000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb. * include/bits/std_locale.h: Remove codecvt.h include. * include/bits/locale_facets.h: Add here, after ctype decls. * include/bits/codecvt.h: Remove std namespace, as assumed to be in std now. * include/bits/locale_facets.h: Consistently move generic static member definitions directly after generic facet declarations. * include/bits/locale_facets.tcc: From here. * src/locale.cc: Organize locale::id static definitions for required facets. * src/codecvt.cc (codecvt<char...>): Remove locale::id definition. (codecvt<wchar_t...>): Same. * src/localename: And here. * include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count. Same for _M_halfcount. From-SVN: r38450
-rw-r--r--libstdc++-v3/ChangeLog1
-rw-r--r--libstdc++-v3/include/bits/localefwd.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2e63a93..d393cf7 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -18,7 +18,6 @@
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
- (std): make locale::_Impl protected. CHANGE BACK
2000-12-22 Alexandre Oliva <aoliva@redhat.com>
diff --git a/libstdc++-v3/include/bits/localefwd.h b/libstdc++-v3/include/bits/localefwd.h
index fdbc1ce..77731c5 100644
--- a/libstdc++-v3/include/bits/localefwd.h
+++ b/libstdc++-v3/include/bits/localefwd.h
@@ -329,8 +329,7 @@ namespace std
friend bool
has_facet(const locale&) throw();
- // private:
- protected:
+ private:
// Data Members.
size_t _M_references;
__vec_facet* _M_facets;