/*
 * Copyright (c) 1999 
 * Boris Fomitchev
 *
 * This material is provided "as is", with absolutely no warranty expressed
 * or implied. Any use is at your own risk.
 *
 * Permission to use or copy this software for any purpose is hereby granted 
 * without fee, provided the above notices are retained on all copies.
 * Permission to modify the code and to distribute modified code is granted,
 * provided the above notices are retained, and a notice that the code was
 * modified is included with the above copyright notice.
 *
 */

# ifndef __STLPORT_CSTDDEF
#  include <cstddef> /* wchar_t */
# endif

# ifndef __STLPORT_CSTRING
#  include <cstring>
# endif

# if defined (__STL_USE_NEW_IOSTREAMS)

#   include __STL_NATIVE_HEADER(iosfwd)

#  if defined ( __MWERKS__ ) || defined (__KCC)
// MSL leaves a few important things out of <iosfwd>.
// We expect this to be fixed in later MSL implementations
# if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105

#    ifdef MSIPL_USING_NAMESPACE
namespace std {
#    endif

// A few things that seem to be missing from CodeWarrior's <iosfwd>
#    ifdef __MWERKS__
template <class charT, class traits = char_traits<charT> >
  class istreambuf_iterator;

template <class charT, class traits = char_traits<charT> >
  class ostreambuf_iterator;
#    endif /* __MWERKS__ */

#  if defined (__STL_NO_NATIVE_WIDE_STREAMS)
class streampos;
#  endif

#  ifdef MSIPL_USING_NAMESPACE
	} // namespace std
#    endif

#   endif    /* __MSL__ version */
#  endif  /* MWERKS */

# else 

__STL_BEGIN_NAMESPACE
template <class _Tp> class allocator;
__STL_END_NAMESPACE

// use old-style iostreams
#  include <iostream.h>
#  include <fstream.h>

#ifndef __SGI_STL_CHAR_TRAITS_H
// that defines char_traits or imports std::char_traits
# include <stl/char_traits.h>
#endif

# endif /* __STL_USE_NEW_IOSTREAMS */

# ifdef __STL_USE_ABBREVS
#  define istream_iterator               _iS__It
#  define ostream_iterator               _oS__It
# endif

# if  defined (__STL_USE_OWN_NAMESPACE)
__STL_BEGIN_NAMESPACE
#  include <using/iosfwd>
__STL_END_NAMESPACE
# endif 

// Local Variables:
// mode:C++
// End:







