34 #ifndef _GLIBCXX_BASIC_FILE_STDIO_H 35 #define _GLIBCXX_BASIC_FILE_STDIO_H 1 37 #pragma GCC system_header 44 namespace std _GLIBCXX_VISIBILITY(default)
46 _GLIBCXX_BEGIN_NAMESPACE_VERSION
49 template<
typename _CharT>
54 class __basic_file<char>
60 bool _M_cfile_created;
63 __basic_file(__c_lock* __lock = 0) throw ();
65 #if __cplusplus >= 201103L 66 __basic_file(__basic_file&& __rv, __c_lock* __lock = 0) noexcept
67 : _M_cfile(__rv._M_cfile), _M_cfile_created(__rv._M_cfile_created)
69 __rv._M_cfile =
nullptr;
70 __rv._M_cfile_created =
false;
73 __basic_file& operator=(
const __basic_file&) =
delete;
74 __basic_file& operator=(__basic_file&&) =
delete;
77 swap(__basic_file& __f) noexcept
79 std::swap(_M_cfile, __f._M_cfile);
80 std::swap(_M_cfile_created, __f._M_cfile_created);
97 is_open()
const throw ();
102 _GLIBCXX_PURE __c_file*
118 seekoff(
streamoff __off, ios_base::seekdir __way) throw ();
127 _GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
long long streamoff
Type used by fpos, char_traits<char>, and char_traits<wchar_t>.
ptrdiff_t streamsize
Integral type for I/O operation counts and buffer sizes.
_Ios_Openmode openmode
This is a bitmask type.