summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-04-17 17:52:27 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-04-17 17:52:27 +0000
commit78e352ab08ced7d99e3d9cc3ee3d770e5c1a6cb5 (patch)
tree60520fe1c6965f9e31089891dd9f4790d3e0f945
parent38380b7e45f89fe7dce503bea5a69ca8692d8b12 (diff)
downloadATCD-78e352ab08ced7d99e3d9cc3ee3d770e5c1a6cb5.tar.gz
ChangeLogTag:Thu Apr 17 10:52:17 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r--ChangeLog10
-rw-r--r--ace/iosfwd.h18
2 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1edfc0afa11..213c19615e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Thu Apr 17 10:52:17 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
+
+ * ace/iosfwd.h:
+
+ Added forward declarations of the iostream classes for the
+ ACE_HAS_STANDARD_CPP_LIBRARY,
+ !ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB, ACE_USES_OLD_IOSTREAMS
+ and !ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION case. This case
+ previously resulted in a basically empty header.
+
Thu Apr 17 11:45:51 2003 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Driver.pm:
diff --git a/ace/iosfwd.h b/ace/iosfwd.h
index 412b6b3bdde..fe674aa6751 100644
--- a/ace/iosfwd.h
+++ b/ace/iosfwd.h
@@ -56,6 +56,24 @@
using std::fstream;
# endif /* ! ACE_USES_OLD_IOSTREAMS */
+# elif defined (ACE_USES_OLD_IOSTREAMS) \
+ && !defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION)
+
+// NOTE: If these forward declarations don't work (e.g. aren't
+// portable), we may have to include "ace/streams.h" as a last
+// resort. Doing so would defeat the purpose of this header,
+// unfortunately.
+
+ class ios;
+ class streambuf;
+ class istream;
+ class ostream;
+ class iostream;
+ class filebuf;
+ class ifstream;
+ class ofstream;
+ class fstream;
+
# endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
#else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */