3 //=============================================================================
7 * @author Irfan Pyarali
9 * This file contains the portability ugliness for the Standard C++
10 * Library. As implementations of the "standard" emerge, this file
11 * will need to be updated.
13 * This files deals with forward declaration for the stream
14 * classes. Remember that since the new Standard C++ Library code
15 * for streams uses templates, simple forward declaration will not
18 //=============================================================================
24 #include /**/ "ace/pre.h"
26 #include /**/ "ace/config-all.h"
28 #if !defined (ACE_LACKS_PRAGMA_ONCE)
30 #endif /* ACE_LACKS_PRAGMA_ONCE */
32 #if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
34 #if defined (__APPLE_CC__)
35 // Should this really be here? dhinton
36 // FUZZ: disable check_for_streams_include
37 # include "ace/streams.h"
40 #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
41 (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
43 # if !defined (ACE_USES_OLD_IOSTREAMS)
44 # include /**/ <iosfwd>
45 #define ACE_HAS_CPP98_IOSTREAMS 1
47 // @note If these forward declarations don't work (e.g. aren't
48 // portable), we may have to include "ace/streams.h" as a last
49 // resort. Doing so would defeat the purpose of this header,
60 # endif /* ! ACE_USES_OLD_IOSTREAMS */
62 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
63 (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
65 # if !defined (ACE_USES_OLD_IOSTREAMS)
66 // Make these available in the global name space
76 # endif /* ! ACE_USES_OLD_IOSTREAMS */
78 # endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
80 #else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
92 # endif /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
94 #include /**/ "ace/post.h"
96 #endif /* ACE_LACKS_IOSTREAM_TOTALLY */
98 #endif /* ACE_IOSFWD_H */