5 * This material is provided "as is", with absolutely no warranty expressed
6 * or implied. Any use is at your own risk.
8 * Permission to use or copy this software for any purpose is hereby granted
9 * without fee, provided the above notices are retained on all copies.
10 * Permission to modify the code and to distribute modified code is granted,
11 * provided the above notices are retained, and a notice that the code was
12 * modified is included with the above copyright notice.
16 #ifndef _STLP_STRSTREAM_H
17 # define _STLP_STRSTREAM_H
19 # ifndef _STLP_OUTERMOST_HEADER_ID
20 # define _STLP_OUTERMOST_HEADER_ID 0x2071
21 # include <stl/_prolog.h>
24 # if defined ( _STLP_USE_NEW_IOSTREAMS )
26 // fbp - if we are going to use that consistently, let's do it
28 # include <strstream.>
33 # include <iostream.h>
36 # ifndef _STLP_HAS_NO_NAMESPACES
38 # ifdef _STLP_BROKEN_USING_DIRECTIVE
40 using namespace _STLP_STD;
44 using _STLP_STD::strstreambuf;
45 using _STLP_STD::istrstream;
46 using _STLP_STD::ostrstream;
47 using _STLP_STD::strstream;
49 # endif /* _STLP_BROKEN_USING_DIRECTIVE */
51 # endif /* _STLP_HAS_NO_NAMESPACES */
56 // just include old-style strstream.h
57 # if defined (_MSC_VER) && (_MSC_VER <= 1200)
58 # include _STLP_NATIVE_OLD_STREAMS_HEADER(strstrea.h)
60 # include _STLP_NATIVE_OLD_STREAMS_HEADER(strstream.h)
65 # if (_STLP_OUTERMOST_HEADER_ID == 0x2071)
66 # include <stl/_epilog.h>
67 # undef _STLP_OUTERMOST_HEADER_ID
70 #endif /* _STLP_STRSTREAM_H */