diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/stdapis/stlportv5/stl/_iosfwd.h --- a/epoc32/include/stdapis/stlportv5/stl/_iosfwd.h Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/stdapis/stlportv5/stl/_iosfwd.h Wed Mar 31 12:33:34 2010 +0100 @@ -1,15 +1,15 @@ -# ifndef _STLP_INTERNAL_IOSFWD -# define _STLP_INTERNAL_IOSFWD +#ifndef _STLP_INTERNAL_IOSFWD +#define _STLP_INTERNAL_IOSFWD -#if defined(__sgi) && !defined(__GNUC__) && !defined(_STANDARD_C_PLUS_PLUS) -#error This header file requires the -LANG:std option +#if defined (__sgi) && !defined (__GNUC__) && !defined (_STANDARD_C_PLUS_PLUS) +# error This header file requires the -LANG:std option #endif // This file provides forward declarations of the most important I/O // classes. Note that almost all of those classes are class templates, -// with default template arguments. According to the C++ standard, +// with default template arguments. According to the C++ standard, // if a class template is declared more than once in the same scope -// then only one of those declarations may have default arguments. +// then only one of those declarations may have default arguments. // contains the same declarations as other headers, and including // both and (say) is permitted. This means that only @@ -19,107 +19,107 @@ // template arguments. All of the other I/O headers include . #ifndef _STLP_CHAR_TRAITS_H -# include +# include #endif _STLP_BEGIN_NAMESPACE -class _STLP_CLASS_DECLSPEC ios_base; +class ios_base; -template ) > +template ) > class basic_ios; -template ) > +template ) > class basic_streambuf; -template ) > +template ) > class basic_istream; -template ) > +template ) > class basic_ostream; -template ) > +template ) > class basic_iostream; -template ), - __DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > +template ), + _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > class basic_stringbuf; -template ), - __DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > +template ), + _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > class basic_istringstream; -template ), - __DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > +template ), + _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > class basic_ostringstream; -template ), - __DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > +template ), + _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) > class basic_stringstream; -template ) > +template ) > class basic_filebuf; -template ) > +template ) > class basic_ifstream; -template ) > +template ) > class basic_ofstream; -template ) > +template ) > class basic_fstream; -template ) > +template ) > class istreambuf_iterator; -template ) > +template ) > class ostreambuf_iterator; typedef basic_ios > ios; -# ifndef _STLP_NO_WCHAR_T +#if !defined (_STLP_NO_WCHAR_T) typedef basic_ios > wios; -# endif +#endif // Forward declaration of class locale, and of the most important facets. class locale; -# ifdef _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS +#if defined (_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS) template struct _Use_facet { const locale& __loc; _Use_facet(const locale& __p_loc) : __loc(__p_loc) {} inline const _Facet& operator *() const; }; -# define use_facet *_Use_facet -# else +# define use_facet *_Use_facet +#else template inline const _Facet& use_facet(const locale&); -# endif +#endif template class ctype; template class ctype_byname; template class collate; template class collate_byname; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC ctype; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC ctype_byname; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC collate; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC collate_byname; +_STLP_TEMPLATE_NULL class ctype; +_STLP_TEMPLATE_NULL class ctype_byname; +_STLP_TEMPLATE_NULL class collate; +_STLP_TEMPLATE_NULL class collate_byname; -# ifndef _STLP_NO_WCHAR_T -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC ctype; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC ctype_byname; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC collate; -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC collate_byname; -# endif +#if !defined (_STLP_NO_WCHAR_T) +_STLP_TEMPLATE_NULL class ctype; +_STLP_TEMPLATE_NULL class ctype_byname; +_STLP_TEMPLATE_NULL class collate; +_STLP_TEMPLATE_NULL class collate_byname; +#endif -# if !(defined (__SUNPRO_CC) && __SUNPRO_CC < 0x500 ) && !defined(_STLP_WINCE) +#if !(defined (__SUNPRO_CC) && __SUNPRO_CC < 0x500 ) // Typedefs for ordinary (narrow-character) streams. -_STLP_TEMPLATE_NULL class _STLP_CLASS_DECLSPEC basic_streambuf >; -# endif +//_STLP_TEMPLATE_NULL class basic_streambuf >; +#endif -typedef basic_istream > istream; -typedef basic_ostream > ostream; -typedef basic_iostream > iostream; +typedef basic_istream > istream; +typedef basic_ostream > ostream; +typedef basic_iostream > iostream; typedef basic_streambuf > streambuf; typedef basic_stringbuf, allocator > stringbuf; @@ -132,7 +132,7 @@ typedef basic_ofstream > ofstream; typedef basic_fstream > fstream; -# ifndef _STLP_NO_WCHAR_T +#if !defined (_STLP_NO_WCHAR_T) // Typedefs for wide-character streams. typedef basic_streambuf > wstreambuf; typedef basic_istream > wistream; @@ -148,7 +148,7 @@ typedef basic_ifstream > wifstream; typedef basic_ofstream > wofstream; typedef basic_fstream > wfstream; -# endif +#endif _STLP_END_NAMESPACE