epoc32/include/stdapis/stlport/stl/_string_fwd.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/stlport/stl/_string_fwd.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/stl/_string_fwd.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,61 @@
     1.4 -_string_fwd.h
     1.5 +/*
     1.6 + * Copyright (c) 1997
     1.7 + * Silicon Graphics Computer Systems, Inc.
     1.8 + *
     1.9 + * Copyright (c) 1999 
    1.10 + * Boris Fomitchev
    1.11 + *
    1.12 + * This material is provided "as is", with absolutely no warranty expressed
    1.13 + * or implied. Any use is at your own risk.
    1.14 + *
    1.15 + * Permission to use or copy this software for any purpose is hereby granted 
    1.16 + * without fee, provided the above notices are retained on all copies.
    1.17 + * Permission to modify the code and to distribute modified code is granted,
    1.18 + * provided the above notices are retained, and a notice that the code was
    1.19 + * modified is included with the above copyright notice.
    1.20 + *
    1.21 + */
    1.22 +
    1.23 +#ifndef _STLP_STRING_FWD_H
    1.24 +#define _STLP_STRING_FWD_H
    1.25 +
    1.26 +#ifndef _STLP_IOSFWD
    1.27 +# include <iosfwd>
    1.28 +#endif
    1.29 +
    1.30 +_STLP_BEGIN_NAMESPACE
    1.31 +
    1.32 +# if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
    1.33 +template <class _CharT, 
    1.34 +          class _Traits = char_traits<_CharT>, 
    1.35 +          class _Alloc = allocator<_CharT> >
    1.36 +class basic_string;
    1.37 +# else
    1.38 +template <class _CharT, 
    1.39 +          class _Traits, 
    1.40 +          class _Alloc>
    1.41 +class basic_string;
    1.42 +# endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
    1.43 +
    1.44 +typedef basic_string<char, char_traits<char>, allocator<char> > string;
    1.45 +
    1.46 +#  ifdef _STLP_HAS_WCHAR_T
    1.47 +typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
    1.48 +#  endif
    1.49 +
    1.50 +# ifdef _STLP_OWN_IOSTREAMS
    1.51 +_STLP_DECLSPEC const char*  _STLP_CALL
    1.52 +__get_c_string(const string& __str);
    1.53 +# else
    1.54 +template <class _CharT, class _Traits, class _Alloc>
    1.55 +const char* _STLP_CALL
    1.56 +__get_c_string(const basic_string<_CharT, _Traits, _Alloc>& __str);
    1.57 +# endif
    1.58 +
    1.59 +_STLP_END_NAMESPACE
    1.60 +
    1.61 +#endif /* _STLP_STRING_FWD_H */
    1.62 +
    1.63 +// Local Variables:
    1.64 +// mode:C++
    1.65 +// End: