williamr@2: /* williamr@2: * Copyright (c) 1997 williamr@2: * Silicon Graphics Computer Systems, Inc. williamr@2: * williamr@4: * Copyright (c) 1999 williamr@2: * Boris Fomitchev williamr@2: * williamr@2: * This material is provided "as is", with absolutely no warranty expressed williamr@2: * or implied. Any use is at your own risk. williamr@2: * williamr@4: * Permission to use or copy this software for any purpose is hereby granted williamr@2: * without fee, provided the above notices are retained on all copies. williamr@2: * Permission to modify the code and to distribute modified code is granted, williamr@2: * provided the above notices are retained, and a notice that the code was williamr@2: * modified is included with the above copyright notice. williamr@2: * williamr@2: */ williamr@2: williamr@2: #ifndef _STLP_STRING_FWD_H williamr@2: #define _STLP_STRING_FWD_H williamr@2: williamr@2: #ifndef _STLP_IOSFWD williamr@4: # include williamr@2: #endif williamr@2: williamr@2: _STLP_BEGIN_NAMESPACE williamr@2: williamr@4: #if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES) williamr@4: template , williamr@2: class _Alloc = allocator<_CharT> > williamr@2: class basic_string; williamr@4: #else williamr@4: template williamr@2: class basic_string; williamr@4: #endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */ williamr@2: williamr@2: typedef basic_string, allocator > string; williamr@2: williamr@4: #if defined (_STLP_HAS_WCHAR_T) williamr@2: typedef basic_string, allocator > wstring; williamr@4: #endif williamr@2: williamr@4: _STLP_MOVE_TO_PRIV_NAMESPACE williamr@4: williamr@4: //This function limits header dependency between exception and string williamr@4: //implementation. It is implemented in _string.h williamr@4: const char* _STLP_CALL __get_c_string(const string& __str); williamr@4: williamr@4: _STLP_MOVE_TO_STD_NAMESPACE williamr@2: williamr@2: _STLP_END_NAMESPACE williamr@2: williamr@2: #endif /* _STLP_STRING_FWD_H */ williamr@2: williamr@2: // Local Variables: williamr@2: // mode:C++ williamr@2: // End: