Path: blob/main/contrib/llvm-project/libcxx/include/__fwd/sstream.h
35233 views
//===----------------------------------------------------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef _LIBCPP___FWD_SSTREAM_H9#define _LIBCPP___FWD_SSTREAM_H1011#include <__config>12#include <__fwd/memory.h>13#include <__fwd/string.h>1415#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)16# pragma GCC system_header17#endif1819_LIBCPP_BEGIN_NAMESPACE_STD2021template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >22class _LIBCPP_TEMPLATE_VIS basic_stringbuf;2324template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >25class _LIBCPP_TEMPLATE_VIS basic_istringstream;26template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >27class _LIBCPP_TEMPLATE_VIS basic_ostringstream;28template <class _CharT, class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> >29class _LIBCPP_TEMPLATE_VIS basic_stringstream;3031using stringbuf = basic_stringbuf<char>;32using istringstream = basic_istringstream<char>;33using ostringstream = basic_ostringstream<char>;34using stringstream = basic_stringstream<char>;3536#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS37using wstringbuf = basic_stringbuf<wchar_t>;38using wistringstream = basic_istringstream<wchar_t>;39using wostringstream = basic_ostringstream<wchar_t>;40using wstringstream = basic_stringstream<wchar_t>;41#endif4243template <class _CharT, class _Traits, class _Allocator>44class _LIBCPP_PREFERRED_NAME(stringbuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringbuf)) basic_stringbuf;45template <class _CharT, class _Traits, class _Allocator>46class _LIBCPP_PREFERRED_NAME(istringstream)47_LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wistringstream)) basic_istringstream;48template <class _CharT, class _Traits, class _Allocator>49class _LIBCPP_PREFERRED_NAME(ostringstream)50_LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostringstream)) basic_ostringstream;51template <class _CharT, class _Traits, class _Allocator>52class _LIBCPP_PREFERRED_NAME(stringstream)53_LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wstringstream)) basic_stringstream;5455_LIBCPP_END_NAMESPACE_STD5657#endif // _LIBCPP___FWD_SSTREAM_H585960