ERR: Need to move forward declarations of non-ansi streams into std namespace when it is available.
This commit is contained in:
parent
b910480e32
commit
249d29030e
|
@ -27,17 +27,21 @@
|
|||
#if !defined(KWSYS_NO_ANSI_STREAM_HEADERS)
|
||||
# include <iosfwd>
|
||||
#else
|
||||
class fstream;
|
||||
class ifstream;
|
||||
class ios;
|
||||
class istream;
|
||||
class ofstream;
|
||||
class ostream;
|
||||
# if !defined(KWSYS_NO_STD_NAMESPACE)
|
||||
namespace std
|
||||
{
|
||||
# endif
|
||||
class fstream;
|
||||
class ifstream;
|
||||
class ios;
|
||||
class istream;
|
||||
class ofstream;
|
||||
class ostream;
|
||||
# if !defined(KWSYS_NO_STD_NAMESPACE)
|
||||
using ::fstream;
|
||||
using ::ifstream;
|
||||
using ::ios;
|
||||
using ::istream;
|
||||
using ::ofstream;
|
||||
using ::ostream;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue