/home/ntakagi/work/STLport-5.1.5/stlport/stl/_string_fwd.hGo to the documentation of this file.00001 /* 00002 * Copyright (c) 1997 00003 * Silicon Graphics Computer Systems, Inc. 00004 * 00005 * Copyright (c) 1999 00006 * Boris Fomitchev 00007 * 00008 * This material is provided "as is", with absolutely no warranty expressed 00009 * or implied. Any use is at your own risk. 00010 * 00011 * Permission to use or copy this software for any purpose is hereby granted 00012 * without fee, provided the above notices are retained on all copies. 00013 * Permission to modify the code and to distribute modified code is granted, 00014 * provided the above notices are retained, and a notice that the code was 00015 * modified is included with the above copyright notice. 00016 * 00017 */ 00018 00019 #ifndef _STLP_STRING_FWD_H 00020 #define _STLP_STRING_FWD_H 00021 00022 #ifndef _STLP_IOSFWD 00023 # include <iosfwd> 00024 #endif 00025 00026 _STLP_BEGIN_NAMESPACE 00027 00028 #if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES) 00029 template <class _CharT, 00030 class _Traits = char_traits<_CharT>, 00031 class _Alloc = allocator<_CharT> > 00032 class basic_string; 00033 #else 00034 template <class _CharT, 00035 class _Traits, 00036 class _Alloc> 00037 class basic_string; 00038 #endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */ 00039 00040 typedef basic_string<char, char_traits<char>, allocator<char> > string; 00041 00042 #if defined (_STLP_HAS_WCHAR_T) 00043 typedef basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> > wstring; 00044 #endif 00045 00046 _STLP_MOVE_TO_PRIV_NAMESPACE 00047 00048 //This function limits header dependency between exception and string 00049 //implementation. It is implemented in _string.h 00050 const char* _STLP_CALL __get_c_string(const string& __str); 00051 00052 _STLP_MOVE_TO_STD_NAMESPACE 00053 00054 _STLP_END_NAMESPACE 00055 00056 #endif /* _STLP_STRING_FWD_H */ 00057 00058 // Local Variables: 00059 // mode:C++ 00060 // End:
Generated on Mon Mar 10 15:32:39 2008 by ![]() |