// -*- C++ -*- //===--------------------------- iosfwd -----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef _LIBCPP_IOSFWD #define _LIBCPP_IOSFWD /* iosfwd synopsis namespace std { template struct char_traits; template class allocator; class ios_base; template > class basic_ios; template > class basic_streambuf; template > class basic_istream; template > class basic_ostream; template > class basic_iostream; template , class Allocator = allocator > class basic_stringbuf; template , class Allocator = allocator > class basic_istringstream; template , class Allocator = allocator > class basic_ostringstream; template , class Allocator = allocator > class basic_stringstream; template > class basic_filebuf; template > class basic_ifstream; template > class basic_ofstream; template > class basic_fstream; template > class istreambuf_iterator; template > class ostreambuf_iterator; typedef basic_ios ios; typedef basic_ios wios; typedef basic_streambuf streambuf; typedef basic_istream istream; typedef basic_ostream ostream; typedef basic_iostream iostream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; typedef basic_streambuf wstreambuf; typedef basic_istream wistream; typedef basic_ostream wostream; typedef basic_iostream wiostream; typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; template class fpos; typedef fpos::state_type> streampos; typedef fpos::state_type> wstreampos; } // std */ #include <__config> #include // for mbstate_t #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif _LIBCPP_BEGIN_NAMESPACE_STD // Not supported in SGX. #if !defined(_LIBCPP_SGX_CONFIG) class _LIBCPP_TYPE_VIS ios_base; #endif // !defined(_LIBCPP_SGX_CONFIG) template struct _LIBCPP_TYPE_VIS_ONLY char_traits; template class _LIBCPP_TYPE_VIS_ONLY allocator; #if !defined(_LIBCPP_SGX_CONFIG) template > class _LIBCPP_TYPE_VIS_ONLY basic_ios; template > class _LIBCPP_TYPE_VIS_ONLY basic_streambuf; template > class _LIBCPP_TYPE_VIS_ONLY basic_istream; template > class _LIBCPP_TYPE_VIS_ONLY basic_ostream; template > class _LIBCPP_TYPE_VIS_ONLY basic_iostream; template , class _Allocator = allocator<_CharT> > class _LIBCPP_TYPE_VIS_ONLY basic_stringbuf; template , class _Allocator = allocator<_CharT> > class _LIBCPP_TYPE_VIS_ONLY basic_istringstream; template , class _Allocator = allocator<_CharT> > class _LIBCPP_TYPE_VIS_ONLY basic_ostringstream; template , class _Allocator = allocator<_CharT> > class _LIBCPP_TYPE_VIS_ONLY basic_stringstream; template > class _LIBCPP_TYPE_VIS_ONLY basic_filebuf; template > class _LIBCPP_TYPE_VIS_ONLY basic_ifstream; template > class _LIBCPP_TYPE_VIS_ONLY basic_ofstream; template > class _LIBCPP_TYPE_VIS_ONLY basic_fstream; template > class _LIBCPP_TYPE_VIS_ONLY istreambuf_iterator; template > class _LIBCPP_TYPE_VIS_ONLY ostreambuf_iterator; typedef basic_ios ios; typedef basic_ios wios; typedef basic_streambuf streambuf; typedef basic_istream istream; typedef basic_ostream ostream; typedef basic_iostream iostream; typedef basic_stringbuf stringbuf; typedef basic_istringstream istringstream; typedef basic_ostringstream ostringstream; typedef basic_stringstream stringstream; typedef basic_filebuf filebuf; typedef basic_ifstream ifstream; typedef basic_ofstream ofstream; typedef basic_fstream fstream; typedef basic_streambuf wstreambuf; typedef basic_istream wistream; typedef basic_ostream wostream; typedef basic_iostream wiostream; typedef basic_stringbuf wstringbuf; typedef basic_istringstream wistringstream; typedef basic_ostringstream wostringstream; typedef basic_stringstream wstringstream; typedef basic_filebuf wfilebuf; typedef basic_ifstream wifstream; typedef basic_ofstream wofstream; typedef basic_fstream wfstream; template class _LIBCPP_TYPE_VIS_ONLY fpos; typedef fpos streampos; typedef fpos wstreampos; #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS typedef fpos u16streampos; typedef fpos u32streampos; #endif // _LIBCPP_HAS_NO_UNICODE_CHARS #if defined(_NEWLIB_VERSION) // On newlib, off_t is 'long int' typedef long int streamoff; // for char_traits in #else typedef long long streamoff; // for char_traits in #endif #endif // !defined(_LIBCPP_SGX_CONFIG) template class _Traits = char_traits<_CharT>, class _Allocator = allocator<_CharT> > class _LIBCPP_TYPE_VIS_ONLY basic_string; typedef basic_string, allocator > string; typedef basic_string, allocator > wstring; // Include other forward declarations here template > class _LIBCPP_TYPE_VIS_ONLY vector; _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP_IOSFWD