epoc32/include/stdapis/stlportv5/stl/_string_fwd.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/stlportv5/stl/_string_fwd.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_string_fwd.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -2,13 +2,13 @@
     1.4   * Copyright (c) 1997
     1.5   * Silicon Graphics Computer Systems, Inc.
     1.6   *
     1.7 - * Copyright (c) 1999 
     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 + * 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 @@ -20,37 +20,36 @@
    1.20  #define _STLP_STRING_FWD_H
    1.21  
    1.22  #ifndef _STLP_IOSFWD
    1.23 -# include <iosfwd>
    1.24 +#  include <iosfwd>
    1.25  #endif
    1.26  
    1.27  _STLP_BEGIN_NAMESPACE
    1.28  
    1.29 -# if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
    1.30 -template <class _CharT, 
    1.31 -          class _Traits = char_traits<_CharT>, 
    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 +#else
    1.41 +template <class _CharT,
    1.42 +          class _Traits,
    1.43            class _Alloc>
    1.44  class basic_string;
    1.45 -# endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
    1.46 +#endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
    1.47  
    1.48  typedef basic_string<char, char_traits<char>, allocator<char> > string;
    1.49  
    1.50 -#  ifdef _STLP_HAS_WCHAR_T
    1.51 +#if defined (_STLP_HAS_WCHAR_T)
    1.52  typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
    1.53 -#  endif
    1.54 +#endif
    1.55  
    1.56 -# ifdef _STLP_OWN_IOSTREAMS
    1.57 -_STLP_DECLSPEC const char*  _STLP_CALL
    1.58 -__get_c_string(const string& __str);
    1.59 -# else
    1.60 -template <class _CharT, class _Traits, class _Alloc>
    1.61 -const char* _STLP_CALL
    1.62 -__get_c_string(const basic_string<_CharT, _Traits, _Alloc>& __str);
    1.63 -# endif
    1.64 +_STLP_MOVE_TO_PRIV_NAMESPACE
    1.65 +
    1.66 +//This function limits header dependency between exception and string
    1.67 +//implementation. It is implemented in _string.h
    1.68 +const char* _STLP_CALL __get_c_string(const string& __str);
    1.69 +
    1.70 +_STLP_MOVE_TO_STD_NAMESPACE
    1.71  
    1.72  _STLP_END_NAMESPACE
    1.73