1*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===// 2*06c3fb27SDimitry Andric // 3*06c3fb27SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*06c3fb27SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*06c3fb27SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*06c3fb27SDimitry Andric // 7*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===// 8*06c3fb27SDimitry Andric 9*06c3fb27SDimitry Andric #ifndef _LIBCPP___FWD_OSTREAM_H 10*06c3fb27SDimitry Andric #define _LIBCPP___FWD_OSTREAM_H 11*06c3fb27SDimitry Andric 12*06c3fb27SDimitry Andric #include <__config> 13*06c3fb27SDimitry Andric #include <__fwd/string.h> 14*06c3fb27SDimitry Andric 15*06c3fb27SDimitry Andric #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 16*06c3fb27SDimitry Andric # pragma GCC system_header 17*06c3fb27SDimitry Andric #endif 18*06c3fb27SDimitry Andric 19*06c3fb27SDimitry Andric _LIBCPP_BEGIN_NAMESPACE_STD 20*06c3fb27SDimitry Andric 21*06c3fb27SDimitry Andric template <class _CharT, class _Traits = char_traits<_CharT> > 22*06c3fb27SDimitry Andric class _LIBCPP_TEMPLATE_VIS basic_ostream; 23*06c3fb27SDimitry Andric 24*06c3fb27SDimitry Andric using ostream = basic_ostream<char>; 25*06c3fb27SDimitry Andric 26*06c3fb27SDimitry Andric #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 27*06c3fb27SDimitry Andric using wostream = basic_ostream<wchar_t>; 28*06c3fb27SDimitry Andric #endif 29*06c3fb27SDimitry Andric 30*06c3fb27SDimitry Andric template <class _CharT, class _Traits> 31*06c3fb27SDimitry Andric class _LIBCPP_PREFERRED_NAME(ostream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wostream)) basic_ostream; 32*06c3fb27SDimitry Andric 33*06c3fb27SDimitry Andric _LIBCPP_END_NAMESPACE_STD 34*06c3fb27SDimitry Andric 35*06c3fb27SDimitry Andric #endif // _LIBCPP___FWD_OSTREAM_H 36