epoc32/include/stdapis/stlport/wrap_std/iosfwd
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2  * Copyright (c) 1999 
     3  * Boris Fomitchev
     4  *
     5  * This material is provided "as is", with absolutely no warranty expressed
     6  * or implied. Any use is at your own risk.
     7  *
     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.
    13  *
    14  */
    15 
    16 # ifndef _STLP_CSTDDEF
    17 #  include <cstddef> /* wchar_t */
    18 # endif
    19 
    20 # ifndef _STLP_CSTRING
    21 #  include <cstring>
    22 # endif
    23 
    24 # if defined (_STLP_USE_NEW_IOSTREAMS)
    25 
    26 #   include _STLP_NATIVE_HEADER(iosfwd)
    27 
    28 #  if defined ( __MWERKS__ ) || defined (__KCC)
    29 // MSL leaves a few important things out of <iosfwd>.
    30 // We expect this to be fixed in later MSL implementations
    31 # if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
    32 
    33 #    ifdef MSIPL_USING_NAMESPACE
    34 namespace std {
    35 #    endif
    36 
    37 // A few things that seem to be missing from CodeWarrior's <iosfwd>
    38 #    ifdef __MWERKS__
    39 template <class charT, class traits = char_traits<charT> >
    40   class istreambuf_iterator;
    41 
    42 template <class charT, class traits = char_traits<charT> >
    43   class ostreambuf_iterator;
    44 #    endif /* __MWERKS__ */
    45 
    46 #  if defined (_STLP_NO_NATIVE_WIDE_STREAMS)
    47 class streampos;
    48 #  endif
    49 
    50 #  ifdef MSIPL_USING_NAMESPACE
    51 	} // namespace std
    52 #    endif
    53 
    54 #   endif    /* __MSL__ version */
    55 #  endif  /* MWERKS */
    56 
    57 # else 
    58 
    59 _STLP_BEGIN_NAMESPACE
    60 template <class _Tp> class allocator;
    61 _STLP_END_NAMESPACE
    62 
    63 // use old-style iostreams
    64 #  include <iostream.h>
    65 #  include <fstream.h>
    66 
    67 #ifndef _STLP_CHAR_TRAITS_H
    68 // that defines char_traits or imports std::char_traits
    69 # include <stl/char_traits.h>
    70 #endif
    71 
    72 # endif /* _STLP_USE_NEW_IOSTREAMS */
    73 
    74 # ifdef _STLP_USE_ABBREVS
    75 #  define istream_iterator               _iS__It
    76 #  define ostream_iterator               _oS__It
    77 # endif
    78 
    79 # if  defined (_STLP_USE_OWN_NAMESPACE)
    80 _STLP_BEGIN_NAMESPACE
    81 #  include <using/iosfwd>
    82 _STLP_END_NAMESPACE
    83 # endif 
    84 
    85 // Local Variables:
    86 // mode:C++
    87 // End:
    88 
    89 
    90 
    91 
    92 
    93 
    94