File indexing completed on 2026-05-03 08:13:31
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef _LIBCPP___CXX03___FWD_FSTREAM_H
0010 #define _LIBCPP___CXX03___FWD_FSTREAM_H
0011
0012 #include <__cxx03/__config>
0013 #include <__cxx03/__fwd/string.h>
0014
0015 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0016 # pragma GCC system_header
0017 #endif
0018
0019 _LIBCPP_BEGIN_NAMESPACE_STD
0020
0021 template <class _CharT, class _Traits = char_traits<_CharT> >
0022 class _LIBCPP_TEMPLATE_VIS basic_filebuf;
0023 template <class _CharT, class _Traits = char_traits<_CharT> >
0024 class _LIBCPP_TEMPLATE_VIS basic_ifstream;
0025 template <class _CharT, class _Traits = char_traits<_CharT> >
0026 class _LIBCPP_TEMPLATE_VIS basic_ofstream;
0027 template <class _CharT, class _Traits = char_traits<_CharT> >
0028 class _LIBCPP_TEMPLATE_VIS basic_fstream;
0029
0030 using filebuf = basic_filebuf<char>;
0031 using ifstream = basic_ifstream<char>;
0032 using ofstream = basic_ofstream<char>;
0033 using fstream = basic_fstream<char>;
0034
0035 #ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
0036 using wfilebuf = basic_filebuf<wchar_t>;
0037 using wifstream = basic_ifstream<wchar_t>;
0038 using wofstream = basic_ofstream<wchar_t>;
0039 using wfstream = basic_fstream<wchar_t>;
0040 #endif
0041
0042 template <class _CharT, class _Traits>
0043 class _LIBCPP_PREFERRED_NAME(filebuf) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfilebuf)) basic_filebuf;
0044 template <class _CharT, class _Traits>
0045 class _LIBCPP_PREFERRED_NAME(ifstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wifstream)) basic_ifstream;
0046 template <class _CharT, class _Traits>
0047 class _LIBCPP_PREFERRED_NAME(ofstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wofstream)) basic_ofstream;
0048 template <class _CharT, class _Traits>
0049 class _LIBCPP_PREFERRED_NAME(fstream) _LIBCPP_IF_WIDE_CHARACTERS(_LIBCPP_PREFERRED_NAME(wfstream)) basic_fstream;
0050
0051 _LIBCPP_END_NAMESPACE_STD
0052
0053 #endif