30 #ifndef _GLIBCXX_FS_FWD_H 31 #define _GLIBCXX_FS_FWD_H 1 33 #if __cplusplus >= 201703L 39 namespace std _GLIBCXX_VISIBILITY(default)
41 _GLIBCXX_BEGIN_NAMESPACE_VERSION
46 #if _GLIBCXX_USE_CXX11_ABI 48 inline 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
100 static_cast<__utype
>(__x) & static_cast<__utype>(__y));
109 static_cast<__utype
>(__x) | static_cast<__utype>(__y));
118 static_cast<__utype
>(__x) ^ static_cast<__utype>(__y));
126 return static_cast<copy_options>(~static_cast<__utype>(__x));
131 {
return __x = __x & __y; }
135 {
return __x = __x | __y; }
139 {
return __x = __x ^ __y; }
173 return static_cast<perms>(
174 static_cast<__utype
>(__x) & static_cast<__utype>(__y));
182 return static_cast<perms>(
183 static_cast<__utype
>(__x) | static_cast<__utype>(__y));
191 return static_cast<perms>(
192 static_cast<__utype
>(__x) ^ static_cast<__utype>(__y));
197 operator~(
perms __x) noexcept
200 return static_cast<perms>(~static_cast<__utype>(__x));
205 {
return __x = __x & __y; }
209 {
return __x = __x | __y; }
213 {
return __x = __x ^ __y; }
232 static_cast<__utype
>(__x) & static_cast<__utype>(__y));
241 static_cast<__utype
>(__x) | static_cast<__utype>(__y));
250 static_cast<__utype
>(__x) ^ static_cast<__utype>(__y));
258 return static_cast<perm_options>(~static_cast<__utype>(__x));
263 {
return __x = __x & __y; }
267 {
return __x = __x | __y; }
271 {
return __x = __x ^ __y; }
276 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
287 static_cast<__utype
>(__x) & static_cast<__utype>(__y));
296 static_cast<__utype
>(__x) | static_cast<__utype>(__y));
305 static_cast<__utype
>(__x) ^ static_cast<__utype>(__y));
318 {
return __x = __x & __y; }
322 {
return __x = __x | __y; }
326 {
return __x = __x ^ __y; }
348 uintmax_t file_size(
const path&);
350 uintmax_t hard_link_count(
const path&);
374 uintmax_t remove_all(
const path&);
379 _GLIBCXX_END_NAMESPACE_VERSION
382 #endif // _GLIBCXX_FS_FWD_H ISO C++ entities toplevel namespace is std.
chrono::time_point represents a point in time as measured by a clock
directory_options
Bitmask type controlling directory iteration.
constexpr bitset< _Nb > operator &(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
constexpr _Iterator __base(_Iterator __it)
Information about free space on a disk.
constexpr bitset< _Nb > operator^(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
perms
Bitmask type representing file access permissions.
The underlying type of an enum.
file_type
Enumerated type representing the type of a file.
Information about a file's type and permissions.
perm_options
Bitmask type controlling changes to permissions.
copy_options
Bitmask type controlling effects of filesystem::copy