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
williamr@2
     1
/*
williamr@2
     2
 * Copyright (c) 1999 
williamr@2
     3
 * Boris Fomitchev
williamr@2
     4
 *
williamr@2
     5
 * This material is provided "as is", with absolutely no warranty expressed
williamr@2
     6
 * or implied. Any use is at your own risk.
williamr@2
     7
 *
williamr@2
     8
 * Permission to use or copy this software for any purpose is hereby granted 
williamr@2
     9
 * without fee, provided the above notices are retained on all copies.
williamr@2
    10
 * Permission to modify the code and to distribute modified code is granted,
williamr@2
    11
 * provided the above notices are retained, and a notice that the code was
williamr@2
    12
 * modified is included with the above copyright notice.
williamr@2
    13
 *
williamr@2
    14
 */
williamr@2
    15
williamr@2
    16
# ifndef _STLP_CSTDDEF
williamr@2
    17
#  include <cstddef> /* wchar_t */
williamr@2
    18
# endif
williamr@2
    19
williamr@2
    20
# ifndef _STLP_CSTRING
williamr@2
    21
#  include <cstring>
williamr@2
    22
# endif
williamr@2
    23
williamr@2
    24
# if defined (_STLP_USE_NEW_IOSTREAMS)
williamr@2
    25
williamr@2
    26
#   include _STLP_NATIVE_HEADER(iosfwd)
williamr@2
    27
williamr@2
    28
#  if defined ( __MWERKS__ ) || defined (__KCC)
williamr@2
    29
// MSL leaves a few important things out of <iosfwd>.
williamr@2
    30
// We expect this to be fixed in later MSL implementations
williamr@2
    31
# if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
williamr@2
    32
williamr@2
    33
#    ifdef MSIPL_USING_NAMESPACE
williamr@2
    34
namespace std {
williamr@2
    35
#    endif
williamr@2
    36
williamr@2
    37
// A few things that seem to be missing from CodeWarrior's <iosfwd>
williamr@2
    38
#    ifdef __MWERKS__
williamr@2
    39
template <class charT, class traits = char_traits<charT> >
williamr@2
    40
  class istreambuf_iterator;
williamr@2
    41
williamr@2
    42
template <class charT, class traits = char_traits<charT> >
williamr@2
    43
  class ostreambuf_iterator;
williamr@2
    44
#    endif /* __MWERKS__ */
williamr@2
    45
williamr@2
    46
#  if defined (_STLP_NO_NATIVE_WIDE_STREAMS)
williamr@2
    47
class streampos;
williamr@2
    48
#  endif
williamr@2
    49
williamr@2
    50
#  ifdef MSIPL_USING_NAMESPACE
williamr@2
    51
	} // namespace std
williamr@2
    52
#    endif
williamr@2
    53
williamr@2
    54
#   endif    /* __MSL__ version */
williamr@2
    55
#  endif  /* MWERKS */
williamr@2
    56
williamr@2
    57
# else 
williamr@2
    58
williamr@2
    59
_STLP_BEGIN_NAMESPACE
williamr@2
    60
template <class _Tp> class allocator;
williamr@2
    61
_STLP_END_NAMESPACE
williamr@2
    62
williamr@2
    63
// use old-style iostreams
williamr@2
    64
#  include <iostream.h>
williamr@2
    65
#  include <fstream.h>
williamr@2
    66
williamr@2
    67
#ifndef _STLP_CHAR_TRAITS_H
williamr@2
    68
// that defines char_traits or imports std::char_traits
williamr@2
    69
# include <stl/char_traits.h>
williamr@2
    70
#endif
williamr@2
    71
williamr@2
    72
# endif /* _STLP_USE_NEW_IOSTREAMS */
williamr@2
    73
williamr@2
    74
# ifdef _STLP_USE_ABBREVS
williamr@2
    75
#  define istream_iterator               _iS__It
williamr@2
    76
#  define ostream_iterator               _oS__It
williamr@2
    77
# endif
williamr@2
    78
williamr@2
    79
# if  defined (_STLP_USE_OWN_NAMESPACE)
williamr@2
    80
_STLP_BEGIN_NAMESPACE
williamr@2
    81
#  include <using/iosfwd>
williamr@2
    82
_STLP_END_NAMESPACE
williamr@2
    83
# endif 
williamr@2
    84
williamr@2
    85
// Local Variables:
williamr@2
    86
// mode:C++
williamr@2
    87
// End:
williamr@2
    88
williamr@2
    89
williamr@2
    90
williamr@2
    91
williamr@2
    92
williamr@2
    93
williamr@2
    94