File indexing completed on 2026-05-03 08:13:31
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LIBCPP___CXX03___FWD_SSTREAM_H
0010 #define _LIBCPP___CXX03___FWD_SSTREAM_H
0011
0012 #include <__cxx03/__config>
0013 #include <__cxx03/__fwd/memory.h>
0014 #include <__cxx03/__fwd/string.h>
0015
0016 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0017 # pragma GCC system_header
0018 #endif
0019
0020 _LIBCPP_BEGIN_NAMESPACE_STD
0021
0022 template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >
0023 class _LIBCPP_TEMPLATE_VIS basic_stringbuf;
0024
0025 template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >
0026 class _LIBCPP_TEMPLATE_VIS basic_istringstream;
0027 template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >
0028 class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
0029 template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >
0030 class _LIBCPP_TEMPLATE_VIS basic_stringstream;
0031
0032 using stringbuf = basic_stringbuf<char>;
0033 using istringstream = basic_istringstream<char>;
0034 using ostringstream = basic_ostringstream<char>;
0035 using stringstream = basic_stringstream<char>;
0036
0037 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
0038 using wstringbuf = basic_stringbuf<wchar_t>;
0039 using wistringstream = basic_istringstream<wchar_t>;
0040 using wostringstream = basic_ostringstream<wchar_t>;
0041 using wstringstream = basic_stringstream<wchar_t>;
0042 #endif
0043
0044 template <class _CharT, class _Traits, class _Allocator>
0045 class _LIBCPP_PREFERRED_NAME(stringbuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringbuf)) basic_stringbuf;
0046 template <class _CharT, class _Traits, class _Allocator>
0047 class _LIBCPP_PREFERRED_NAME(istringstream)
0048 _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistringstream)) basic_istringstream;
0049 template <class _CharT, class _Traits, class _Allocator>
0050 class _LIBCPP_PREFERRED_NAME(ostringstream)
0051 _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostringstream)) basic_ostringstream;
0052 template <class _CharT, class _Traits, class _Allocator>
0053 class _LIBCPP_PREFERRED_NAME(stringstream)
0054 _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringstream)) basic_stringstream;
0055
0056 _LIBCPP_END_NAMESPACE_STD
0057
0058 #endif