3
//=============================================================================
7
* iosfwd.h,v 1.20 2003/12/07 00:39:22 shuston Exp
9
* @author Irfan Pyarali
11
* This file contains the portability ugliness for the Standard C++
12
* Library. As implementations of the "standard" emerge, this file
13
* will need to be updated.
15
* This files deals with forward declaration for the stream
16
* classes. Remember that since the new Standard C++ Library code
17
* for streams uses templates, simple forward declaration will not
20
//=============================================================================
26
#include /**/ "ace/pre.h"
28
#include "ace/config-all.h"
30
#if !defined (ACE_LACKS_PRAGMA_ONCE)
32
#endif /* ACE_LACKS_PRAGMA_ONCE */
34
#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
36
#if defined (__APPLE_CC__)
37
// Should this really be here? dhinton
38
// FUZZ: disable check_for_streams_include
39
# include "ace/streams.h"
42
#if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && \
43
(ACE_HAS_STANDARD_CPP_LIBRARY != 0)
45
# if !defined (ACE_USES_OLD_IOSTREAMS)
46
# include /**/ <iosfwd>
48
// NOTE: If these forward declarations don't work (e.g. aren't
49
// portable), we may have to include "ace/streams.h" as a last
50
// resort. Doing so would defeat the purpose of this header,
61
# endif /* ! ACE_USES_OLD_IOSTREAMS */
63
# if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
64
(ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
66
# if !defined (ACE_USES_OLD_IOSTREAMS)
67
// Make these available in the global name space
77
# endif /* ! ACE_USES_OLD_IOSTREAMS */
79
# endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
81
#else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
93
# endif /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
95
#include /**/ "ace/post.h"
97
#endif /* ACE_LACKS_IOSTREAM_TOTALLY */
99
#endif /* ACE_IOSFWD_H */