Commit 1492cacb by Mark Mitchell Committed by Mark Mitchell

localefwd.h (std::locale): Use explicit `class' specified when declaring friends.

	* bits/localefwd.h (std::locale): Use explicit `class' specified
	when declaring friends.
	* bits/std_fstream.h (std::basic_filebuf): Likewise.

From-SVN: r35767
parent dd69c71b
2000-08-17 Mark Mitchell <mark@codesourcery.com>
* bits/localefwd.h (std::locale): Use explicit `class' specified
when declaring friends.
* bits/std_fstream.h (std::basic_filebuf): Likewise.
2000-08-16 Alexandre Oliva <aoliva@redhat.com> 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
* src/Makefile.am (libstdc++.INC): Renamed from INCLUDES. * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
......
...@@ -210,7 +210,7 @@ namespace std ...@@ -210,7 +210,7 @@ namespace std
{ {
// Forwrd decls and friends: // Forwrd decls and friends:
class _Impl; class _Impl;
friend _Impl; friend class _Impl;
template<typename _Facet> template<typename _Facet>
friend const _Facet& friend const _Facet&
......
...@@ -61,7 +61,7 @@ namespace std { ...@@ -61,7 +61,7 @@ namespace std {
typedef codecvt<char_type, char, __state_type> __codecvt_type; typedef codecvt<char_type, char, __state_type> __codecvt_type;
typedef typename __codecvt_type::result __res_type; typedef typename __codecvt_type::result __res_type;
friend ios_base; // For sync_with_stdio. friend class ios_base; // For sync_with_stdio.
private: private:
// Data Members: // Data Members:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment