home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Compilers / digital marsC compier / dm / stl / stl_string_fwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-08  |  1.1 KB  |  41 lines

  1. /*
  2.  * Copyright (c) 1997
  3.  * Silicon Graphics Computer Systems, Inc.
  4.  *
  5.  * Permission to use, copy, modify, distribute and sell this software
  6.  * and its documentation for any purpose is hereby granted without fee,
  7.  * provided that the above copyright notice appear in all copies and
  8.  * that both that copyright notice and this permission notice appear
  9.  * in supporting documentation.  Silicon Graphics makes no
  10.  * representations about the suitability of this software for any
  11.  * purpose.  It is provided "as is" without express or implied warranty.
  12.  */ 
  13.  
  14. #ifndef __SGI_STL_STRING_FWD_H
  15. #define __SGI_STL_STRING_FWD_H
  16.  
  17. #include <stddef.h>
  18. #include <stl_config.h>
  19. #include <stl_alloc.h>
  20. #include <char_traits.h>
  21.  
  22. __STL_BEGIN_NAMESPACE
  23.  
  24. template <class _CharT, 
  25.           class _Traits = char_traits<_CharT>, 
  26.           class _Alloc = __STL_DEFAULT_ALLOCATOR(_CharT) >
  27. class basic_string;
  28.  
  29. typedef basic_string<char>    string;
  30. typedef basic_string<wchar_t> wstring;
  31.  
  32. static const char* __get_c_string(const string&);
  33.  
  34. __STL_END_NAMESPACE
  35.  
  36. #endif /* __SGI_STL_STRING_FWD_H */
  37.  
  38. // Local Variables:
  39. // mode:C++
  40. // End:
  41.