3 * Silicon Graphics Computer Systems, Inc.
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.
14 #ifndef __SGI_STL_STRING_FWD_H
15 #define __SGI_STL_STRING_FWD_H
21 #ifdef __STL_USE_STD_ALLOCATORS
23 template <class _Tp
> class allocator
;
25 #else /* __STL_USE_STD_ALLOCATORS */
27 template <bool __threads
, int __inst
> class _Default_alloc_template
;
28 typedef _Default_alloc_template
<true, 0> _Alloc
;
30 #endif /* __STL_USE_STD_ALLOCATORS */
32 template <class _CharT
> struct char_traits
;
33 template <class _CharT
,
34 class _Traits
= char_traits
<_CharT
>,
35 class _Alloc
= __STL_DEFAULT_ALLOCATOR(_CharT
) >
38 typedef basic_string
<char> string
;
39 typedef basic_string
<wchar_t> wstring
;
41 template <class _CharT
, class _Traits
, class _Alloc
>
42 void _S_string_copy(const basic_string
<_CharT
,_Traits
,_Alloc
>&, _CharT
*,
47 #endif /* __SGI_STL_STRING_FWD_H */