diff options
author | Brad King <brad.king@kitware.com> | 2003-05-12 17:27:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-05-12 17:27:00 (GMT) |
commit | 249d29030e0846b8417f59009043be9474dd863b (patch) | |
tree | 4465a2dd019bfef3053467f2cca1b91962e05cac /Source | |
parent | b910480e32088f6ec5eebeeef9d42491ef523790 (diff) | |
download | CMake-249d29030e0846b8417f59009043be9474dd863b.zip CMake-249d29030e0846b8417f59009043be9474dd863b.tar.gz CMake-249d29030e0846b8417f59009043be9474dd863b.tar.bz2 |
ERR: Need to move forward declarations of non-ansi streams into std namespace when it is available.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/kwsys_std_iosfwd.h.in | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Source/kwsys/kwsys_std_iosfwd.h.in b/Source/kwsys/kwsys_std_iosfwd.h.in index 52a85d0..375f01f 100644 --- a/Source/kwsys/kwsys_std_iosfwd.h.in +++ b/Source/kwsys/kwsys_std_iosfwd.h.in @@ -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 |