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