1.1 --- a/epoc32/include/stdapis/stlport/strstream.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/strstream.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,75 @@
1.4 -strstream.h
1.5 +/*
1.6 + * Copyright (c) 1999
1.7 + * Boris Fomitchev
1.8 + *
1.9 + * This material is provided "as is", with absolutely no warranty expressed
1.10 + * or implied. Any use is at your own risk.
1.11 + *
1.12 + * Permission to use or copy this software for any purpose is hereby granted
1.13 + * without fee, provided the above notices are retained on all copies.
1.14 + * Permission to modify the code and to distribute modified code is granted,
1.15 + * provided the above notices are retained, and a notice that the code was
1.16 + * modified is included with the above copyright notice.
1.17 + *
1.18 + */
1.19 +
1.20 +#ifndef _STLP_STRSTREAM_H
1.21 +# define _STLP_STRSTREAM_H
1.22 +
1.23 +# ifndef _STLP_OUTERMOST_HEADER_ID
1.24 +# define _STLP_OUTERMOST_HEADER_ID 0x2071
1.25 +# include <stl/_prolog.h>
1.26 +# endif
1.27 +
1.28 +# if defined ( _STLP_USE_NEW_IOSTREAMS )
1.29 +
1.30 +// fbp - if we are going to use that consistently, let's do it
1.31 +#ifdef __BORLANDC__
1.32 +# include <strstream.>
1.33 +#else
1.34 +# include <strstream>
1.35 +#endif
1.36 +
1.37 +# include <iostream.h>
1.38 +
1.39 +
1.40 +# ifndef _STLP_HAS_NO_NAMESPACES
1.41 +
1.42 +# ifdef _STLP_BROKEN_USING_DIRECTIVE
1.43 +
1.44 +using namespace _STLP_STD;
1.45 +
1.46 +# else
1.47 +
1.48 +using _STLP_STD::strstreambuf;
1.49 +using _STLP_STD::istrstream;
1.50 +using _STLP_STD::ostrstream;
1.51 +using _STLP_STD::strstream;
1.52 +
1.53 +# endif /* _STLP_BROKEN_USING_DIRECTIVE */
1.54 +
1.55 +# endif /* _STLP_HAS_NO_NAMESPACES */
1.56 +
1.57 +# else
1.58 +
1.59 +
1.60 +// just include old-style strstream.h
1.61 +# if defined (_MSC_VER) && (_MSC_VER <= 1200)
1.62 +# include _STLP_NATIVE_OLD_STREAMS_HEADER(strstrea.h)
1.63 +# else
1.64 +# include _STLP_NATIVE_OLD_STREAMS_HEADER(strstream.h)
1.65 +# endif
1.66 +
1.67 +# endif
1.68 +
1.69 +# if (_STLP_OUTERMOST_HEADER_ID == 0x2071)
1.70 +# include <stl/_epilog.h>
1.71 +# undef _STLP_OUTERMOST_HEADER_ID
1.72 +# endif
1.73 +
1.74 +#endif /* _STLP_STRSTREAM_H */
1.75 +
1.76 +// Local Variables:
1.77 +// mode:C++
1.78 +// End:
1.79 +