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
This commit is contained in:
Mark Mitchell 2000-08-17 20:13:47 +00:00 committed by Mark Mitchell
parent dd69c71bf5
commit 1492cacbf9
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.

View File

@ -210,7 +210,7 @@ namespace std
{
// Forwrd decls and friends:
class _Impl;
friend _Impl;
friend class _Impl;
template<typename _Facet>
friend const _Facet&

View File

@ -61,7 +61,7 @@ namespace std {
typedef codecvt<char_type, char, __state_type> __codecvt_type;
typedef typename __codecvt_type::result __res_type;
friend ios_base; // For sync_with_stdio.
friend class ios_base; // For sync_with_stdio.
private:
// Data Members: