Path: blob/main/contrib/llvm-project/libcxx/include/__fwd/ios.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_IOS_H9#define _LIBCPP___FWD_IOS_H1011#include <__config>12#include <__fwd/string.h>1314#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)15# pragma GCC system_header16#endif1718_LIBCPP_BEGIN_NAMESPACE_STD1920class _LIBCPP_EXPORTED_FROM_ABI ios_base;2122template <class _CharT, class _Traits = char_traits<_CharT> >23class _LIBCPP_TEMPLATE_VIS basic_ios;2425using ios = basic_ios<char>;26#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS27using wios = basic_ios<wchar_t>;28#endif2930template <class _CharT, class _Traits>31class _LIBCPP_PREFERRED_NAME(ios) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wios)) basic_ios;3233#if defined(_NEWLIB_VERSION)34// On newlib, off_t is 'long int'35using streamoff = long int; // for char_traits in <string>36#else37using streamoff = long long; // for char_traits in <string>38#endif3940_LIBCPP_END_NAMESPACE_STD4142#endif // _LIBCPP___FWD_IOS_H434445