summaryrefslogtreecommitdiff
path: root/ACE/ace/iosfwd.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-07 08:50:33 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-07 08:50:33 +0200
commit6f6f7ea0c8fcde679ef21a59a4686043b02d3057 (patch)
tree66e0bce6f1adee4db9088d7958c3558476592b0e /ACE/ace/iosfwd.h
parent0c1250b0b20ca014faf977584a2586d787394ea2 (diff)
downloadATCD-6f6f7ea0c8fcde679ef21a59a4686043b02d3057.tar.gz
We require now that the standard C++ library is supported and available in the std namespace, removed support for non compliant configurations
* ACE/ace/Auto_Ptr.h: * ACE/ace/Auto_Ptr.inl: * ACE/ace/Global_Macros.h: * ACE/ace/IOStream.h: * ACE/ace/README: * ACE/ace/ace_wchar.h: * ACE/ace/config-aix-5.x.h: * ACE/ace/config-all.h: * ACE/ace/config-g++-common.h: * ACE/ace/config-hpux-11.00.h: * ACE/ace/config-icc-common.h: * ACE/ace/config-integritySCA.h: * ACE/ace/config-kfreebsd.h: * ACE/ace/config-linux-common.h: * ACE/ace/config-mqx.h: * ACE/ace/config-netbsd.h: * ACE/ace/config-openvms.h: * ACE/ace/config-qnx.h: * ACE/ace/config-suncc-common.h: * ACE/ace/config-sunos5.5.h: * ACE/ace/config-sunos5.6.h: * ACE/ace/config-vxworks6.4.h: * ACE/ace/config-win32-borland.h: * ACE/ace/config-win32-msvc-14.h: * ACE/ace/iosfwd.h: * ACE/ace/streams.h: * ACE/examples/C++NPv1/Logging_Client.cpp: * ACE/examples/C++NPv2/Select_Reactor_Logging_Server.cpp: * ACE/examples/C++NPv2/Server_Shutdown.cpp: * ACE/examples/C++NPv2/TP_Reactor_Logging_Server.cpp: * ACE/tests/IOStream_Test.cpp: * TAO/DevGuideExamples/PortableInterceptors/Auth/Messenger_i.cpp: * TAO/DevGuideExamples/PortableInterceptors/Auth/ServerInitializer.cpp: * TAO/DevGuideExamples/PortableInterceptors/Auth/ServerInterceptor.cpp: * TAO/DevGuideExamples/PortableInterceptors/PICurrent/Messenger_i.cpp: * TAO/docs/tutorials/Quoter/AMI/Stock_i.h: * TAO/docs/tutorials/Quoter/Naming_Service/Stock_i.h: * TAO/docs/tutorials/Quoter/On_Demand_Activation/Stock_i.h: * TAO/docs/tutorials/Quoter/Simple/Impl-Repo/Stock_i.h: * TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h: * TAO/docs/tutorials/Quoter/Simple/Persistent/Stock_i.h: * TAO/docs/tutorials/Quoter/Simple/Server/Stock_i.h: * TAO/orbsvcs/DevGuideExamples/PortableInterceptors/PICurrent_NameService/Messenger_i.cpp: * TAO/orbsvcs/examples/LoadBalancing/Stock.h:
Diffstat (limited to 'ACE/ace/iosfwd.h')
-rw-r--r--ACE/ace/iosfwd.h54
1 files changed, 16 insertions, 38 deletions
diff --git a/ACE/ace/iosfwd.h b/ACE/ace/iosfwd.h
index 2d29b38c43f..62468cbd655 100644
--- a/ACE/ace/iosfwd.h
+++ b/ACE/ace/iosfwd.h
@@ -31,13 +31,10 @@
#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
-#if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
- (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
-
-# if !defined (ACE_USES_OLD_IOSTREAMS)
+#if !defined (ACE_USES_OLD_IOSTREAMS)
# include /**/ <iosfwd>
#define ACE_HAS_CPP98_IOSTREAMS 1
-# else
+#else
// @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,
@@ -51,39 +48,20 @@
class ifstream;
class ofstream;
class fstream;
-# endif /* ! ACE_USES_OLD_IOSTREAMS */
-
-# if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
- (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
-
-# if !defined (ACE_USES_OLD_IOSTREAMS)
- // Make these available in the global name space
- using std::ios;
- using std::streambuf;
- using std::istream;
- using std::ostream;
- using std::iostream;
- using std::filebuf;
- using std::ifstream;
- using std::ofstream;
- using std::fstream;
-# endif /* ! ACE_USES_OLD_IOSTREAMS */
-
-# endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
-
-#else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
-
- class ios;
- class streambuf;
- class istream;
- class ostream;
- class iostream;
- class filebuf;
- class ifstream;
- class ofstream;
- class fstream;
-
-# endif /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
+#endif /* ! ACE_USES_OLD_IOSTREAMS */
+
+#if !defined (ACE_USES_OLD_IOSTREAMS)
+ // Make these available in the global name space
+ using std::ios;
+ using std::streambuf;
+ using std::istream;
+ using std::ostream;
+ using std::iostream;
+ using std::filebuf;
+ using std::ifstream;
+ using std::ofstream;
+ using std::fstream;
+#endif /* ! ACE_USES_OLD_IOSTREAMS */
#include /**/ "ace/post.h"