home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / stl / _string_fwd.h < prev    next >
C/C++ Source or Header  |  2001-01-26  |  2KB  |  62 lines

  1. /*
  2.  * Copyright (c) 1997
  3.  * Silicon Graphics Computer Systems, Inc.
  4.  *
  5.  * Copyright (c) 1999 
  6.  * Boris Fomitchev
  7.  *
  8.  * This material is provided "as is", with absolutely no warranty expressed
  9.  * or implied. Any use is at your own risk.
  10.  *
  11.  * Permission to use or copy this software for any purpose is hereby granted 
  12.  * without fee, provided the above notices are retained on all copies.
  13.  * Permission to modify the code and to distribute modified code is granted,
  14.  * provided the above notices are retained, and a notice that the code was
  15.  * modified is included with the above copyright notice.
  16.  *
  17.  */
  18.  
  19. #ifndef _STLP_STRING_FWD_H
  20. #define _STLP_STRING_FWD_H
  21.  
  22. #ifndef _STLP_IOSFWD
  23. # include <iosfwd>
  24. #endif
  25.  
  26. _STLP_BEGIN_NAMESPACE
  27.  
  28. # if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
  29. template <class _CharT, 
  30.           class _Traits = char_traits<_CharT>, 
  31.           class _Alloc = allocator<_CharT> >
  32. class basic_string;
  33. # else
  34. template <class _CharT, 
  35.           class _Traits, 
  36.           class _Alloc>
  37. class basic_string;
  38. # endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
  39.  
  40. typedef basic_string<char, char_traits<char>, allocator<char> > string;
  41.  
  42. #  ifdef _STLP_HAS_WCHAR_T
  43. typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring;
  44. #  endif
  45.  
  46. # ifdef _STLP_OWN_IOSTREAMS
  47. _STLP_DECLSPEC const char*  _STLP_CALL
  48. __get_c_string(const string& __str);
  49. # else
  50. template <class _CharT, class _Traits, class _Alloc>
  51. const char* _STLP_CALL
  52. __get_c_string(const basic_string<_CharT, _Traits, _Alloc>& __str);
  53. # endif
  54.  
  55. _STLP_END_NAMESPACE
  56.  
  57. #endif /* _STLP_STRING_FWD_H */
  58.  
  59. // Local Variables:
  60. // mode:C++
  61. // End:
  62.