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* = 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);
87 #if _GLIBCXX_HAVE__WFOPEN && _GLIBCXX_USE_WCHAR_T
102 is_open()
const throw ();
107 _GLIBCXX_PURE __c_file*
123 seekoff(
streamoff __off, ios_base::seekdir __way) throw ();
132 _GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
ptrdiff_t streamsize
Integral type for I/O operation counts and buffer sizes.
long long streamoff
Type used by fpos, char_traits<char>, and char_traits<wchar_t>.
_Ios_Openmode openmode
This is a bitmask type.