30#ifndef _GLIBCXX_FS_FWD_H
31#define _GLIBCXX_FS_FWD_H 1
33#if __cplusplus >= 201703L
39namespace std _GLIBCXX_VISIBILITY(default)
41_GLIBCXX_BEGIN_NAMESPACE_VERSION
46#if _GLIBCXX_USE_CXX11_ABI
48inline namespace __cxx11 __attribute__((__abi_tag__ (
"cxx11"))) { }
57_GLIBCXX_BEGIN_NAMESPACE_CXX11
59 class filesystem_error;
60 class directory_entry;
61 class directory_iterator;
62 class recursive_directory_iterator;
63_GLIBCXX_END_NAMESPACE_CXX11
72#if __cpp_impl_three_way_comparison >= 201907L
79 none = 0, not_found = -1, regular = 1, directory = 2, symlink = 3,
80 block = 4, character = 5, fifo = 6, socket = 7, unknown = 8
86 skip_existing = 1, overwrite_existing = 2, update_existing = 4,
88 copy_symlinks = 16, skip_symlinks = 32,
89 directories_only = 64, create_symlinks = 128, create_hard_links = 256
99 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
107 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
115 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
122 return static_cast<copy_options>(~static_cast<__utype>(__x));
127 {
return __x = __x & __y; }
131 {
return __x = __x | __y; }
135 {
return __x = __x ^ __y; }
168 return static_cast<perms>(
169 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
176 return static_cast<perms>(
177 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
184 return static_cast<perms>(
185 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
189 operator~(
perms __x)
noexcept
192 return static_cast<perms>(~static_cast<__utype>(__x));
197 {
return __x = __x & __y; }
201 {
return __x = __x | __y; }
205 {
return __x = __x ^ __y; }
223 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
231 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
239 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
246 return static_cast<perm_options>(~static_cast<__utype>(__x));
251 {
return __x = __x & __y; }
255 {
return __x = __x | __y; }
259 {
return __x = __x ^ __y; }
264 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
274 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
282 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
290 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
302 {
return __x = __x & __y; }
306 {
return __x = __x | __y; }
310 {
return __x = __x ^ __y; }
332 uintmax_t file_size(
const path&);
334 uintmax_t hard_link_count(
const path&);
359_GLIBCXX_END_NAMESPACE_VERSION
copy_options
Bitmask type controlling effects of filesystem::copy
perms
Bitmask type representing file access permissions.
perm_options
Bitmask type controlling changes to permissions.
directory_options
Bitmask type controlling directory iteration.
file_type
Enumerated type representing the type of a file.
ISO C++ entities toplevel namespace is std.
bitset< _Nb > operator&(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
bitset< _Nb > operator^(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
chrono::time_point represents a point in time as measured by a clock
The underlying type of an enum.
Information about a file's type and permissions.
Information about free space on a disk.