1.1 --- a/epoc32/include/stdapis/stlport/wrap_std/iosfwd Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/wrap_std/iosfwd Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,94 @@
1.4 -iosfwd
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_CSTDDEF
1.21 +# include <cstddef> /* wchar_t */
1.22 +# endif
1.23 +
1.24 +# ifndef _STLP_CSTRING
1.25 +# include <cstring>
1.26 +# endif
1.27 +
1.28 +# if defined (_STLP_USE_NEW_IOSTREAMS)
1.29 +
1.30 +# include _STLP_NATIVE_HEADER(iosfwd)
1.31 +
1.32 +# if defined ( __MWERKS__ ) || defined (__KCC)
1.33 +// MSL leaves a few important things out of <iosfwd>.
1.34 +// We expect this to be fixed in later MSL implementations
1.35 +# if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
1.36 +
1.37 +# ifdef MSIPL_USING_NAMESPACE
1.38 +namespace std {
1.39 +# endif
1.40 +
1.41 +// A few things that seem to be missing from CodeWarrior's <iosfwd>
1.42 +# ifdef __MWERKS__
1.43 +template <class charT, class traits = char_traits<charT> >
1.44 + class istreambuf_iterator;
1.45 +
1.46 +template <class charT, class traits = char_traits<charT> >
1.47 + class ostreambuf_iterator;
1.48 +# endif /* __MWERKS__ */
1.49 +
1.50 +# if defined (_STLP_NO_NATIVE_WIDE_STREAMS)
1.51 +class streampos;
1.52 +# endif
1.53 +
1.54 +# ifdef MSIPL_USING_NAMESPACE
1.55 + } // namespace std
1.56 +# endif
1.57 +
1.58 +# endif /* __MSL__ version */
1.59 +# endif /* MWERKS */
1.60 +
1.61 +# else
1.62 +
1.63 +_STLP_BEGIN_NAMESPACE
1.64 +template <class _Tp> class allocator;
1.65 +_STLP_END_NAMESPACE
1.66 +
1.67 +// use old-style iostreams
1.68 +# include <iostream.h>
1.69 +# include <fstream.h>
1.70 +
1.71 +#ifndef _STLP_CHAR_TRAITS_H
1.72 +// that defines char_traits or imports std::char_traits
1.73 +# include <stl/char_traits.h>
1.74 +#endif
1.75 +
1.76 +# endif /* _STLP_USE_NEW_IOSTREAMS */
1.77 +
1.78 +# ifdef _STLP_USE_ABBREVS
1.79 +# define istream_iterator _iS__It
1.80 +# define ostream_iterator _oS__It
1.81 +# endif
1.82 +
1.83 +# if defined (_STLP_USE_OWN_NAMESPACE)
1.84 +_STLP_BEGIN_NAMESPACE
1.85 +# include <using/iosfwd>
1.86 +_STLP_END_NAMESPACE
1.87 +# endif
1.88 +
1.89 +// Local Variables:
1.90 +// mode:C++
1.91 +// End:
1.92 +
1.93 +
1.94 +
1.95 +
1.96 +
1.97 +
1.98 +