3 * Silicon Graphics Computer Systems, Inc.
8 * This material is provided "as is", with absolutely no warranty expressed
9 * or implied. Any use is at your own risk.
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.
19 #ifndef _STLP_STRING_FWD_H
20 #define _STLP_STRING_FWD_H
22 #ifndef _STLP_INTERNAL_IOSFWD
23 # include <stl/_iosfwd.h>
28 #if !defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
29 template <class _CharT
,
30 class _Traits
= char_traits
<_CharT
>,
31 class _Alloc
= allocator
<_CharT
> >
34 template <class _CharT
,
38 #endif /* _STLP_LIMITED_DEFAULT_TEMPLATES */
40 typedef basic_string
<char, char_traits
<char>, allocator
<char> > string
;
42 #if defined (_STLP_HAS_WCHAR_T)
43 typedef basic_string
<wchar_t, char_traits
<wchar_t>, allocator
<wchar_t> > wstring
;
46 _STLP_MOVE_TO_PRIV_NAMESPACE
48 //This function limits header dependency between exception and string
49 //implementation. It is implemented in _string.h
50 const char* _STLP_CALL
__get_c_string(const string
& __str
);
52 _STLP_MOVE_TO_STD_NAMESPACE
56 #endif /* _STLP_STRING_FWD_H */