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
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));
116 using __utype =
typename std::underlying_type<copy_options>::type;
118 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
125 using __utype =
typename std::underlying_type<copy_options>::type;
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; }
144#pragma GCC diagnostic push
145#pragma GCC diagnostic ignored "-Wdeprecated-octal-literal"
167#pragma GCC diagnostic pop
176 return static_cast<perms
>(
177 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
182 operator|(perms __x, perms __y)
noexcept
185 return static_cast<perms
>(
186 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
193 using __utype =
typename std::underlying_type<perms>::type;
194 return static_cast<perms>(
195 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
200 operator~(
perms __x)
noexcept
202 using __utype =
typename std::underlying_type<perms>::type;
203 return static_cast<perms>(~static_cast<__utype>(__x));
208 {
return __x = __x & __y; }
212 {
return __x = __x | __y; }
216 {
return __x = __x ^ __y; }
235 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
244 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
251 using __utype =
typename std::underlying_type<perm_options>::type;
253 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
260 using __utype =
typename std::underlying_type<perm_options>::type;
261 return static_cast<perm_options>(~static_cast<__utype>(__x));
266 {
return __x = __x & __y; }
270 {
return __x = __x | __y; }
274 {
return __x = __x ^ __y; }
279 none = 0, follow_directory_symlink = 1, skip_permission_denied = 2
285 constexpr directory_options
286 operator&(directory_options __x, directory_options __y)
noexcept
289 return static_cast<directory_options
>(
290 static_cast<__utype
>(__x) &
static_cast<__utype
>(__y));
294 constexpr directory_options
295 operator|(directory_options __x, directory_options __y)
noexcept
298 return static_cast<directory_options
>(
299 static_cast<__utype
>(__x) |
static_cast<__utype
>(__y));
306 using __utype =
typename std::underlying_type<directory_options>::type;
308 static_cast<__utype
>(__x) ^
static_cast<__utype
>(__y));
315 using __utype =
typename std::underlying_type<directory_options>::type;
321 {
return __x = __x & __y; }
325 {
return __x = __x | __y; }
329 {
return __x = __x ^ __y; }
351 uintmax_t file_size(
const path&);
353 uintmax_t hard_link_count(
const path&);
377 uintmax_t remove_all(
const path&);
382_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_clock::time_point file_time_type
The type used for file timestamps.
file_type
Enumerated type representing the type of a file.
ISO C++ entities toplevel namespace is std.
constexpr bitset< _Nb > operator&(const bitset< _Nb > &__x, const bitset< _Nb > &__y) noexcept
Global bitwise operations on bitsets.
ISO C++ 2017 namespace for File System library.
The underlying type of an enum.
Information about a file's type and permissions.
The value type used by directory iterators.
Iterator type for traversing the entries in a single directory.
Iterator type for recursively traversing a directory hierarchy.
Information about free space on a disk.
Exception type thrown by the Filesystem library.