Experimental library header <experimental/filesystem>

From cppreference.com
< cpp‎ | header‎ | experimental
 
 
Standard Library headers
Note: a slash '/' in a revision mark means that the header was deprecated and/or removed.
Language Support
Concepts
<concepts> (C++20)
Diagnostics
<system_error> (C++11)
General utilities
<bitset>
<tuple> (C++11)
<optional> (C++17)
<any> (C++17)
<variant> (C++17)
<type_traits> (C++11)
<ratio> (C++11)
<chrono> (C++11)
Strings
<charconv> (C++17)
<format> (C++20)

<cwchar>
<cuchar> (C++11)

Localization
<codecvt> (C++11/17)

Containers
<span> (C++20)
<array> (C++11)
<vector>
Iterators
<iterator>
Ranges
<ranges> (C++20)
Algorithms
<execution> (C++17)
Numerics
<bit> (C++20)
<numbers> (C++20)
<cfenv> (C++11)
<cmath>
Input/Output
<cstdio>
<cinttypes> (C++11)
<strstream> (C++98/)

Regular expressions
<regex> (C++11)
Filesystem support
<filesystem> (C++17)
Thread support
<thread> (C++11)
<atomic> (C++11)
<mutex> (C++11)
<shared_mutex> (C++14)
<condition_variable> (C++11)  
<future> (C++11)
<stop_token> (C++20)
<semaphore> (C++20)

<latch> (C++20)
<barrier> (C++20)

C compatibility
<cstdbool> (C++11/17/20)
<ccomplex> (C++11/17/20)
<ctgmath> (C++11/17/20)
<cstdalign> (C++11/17/20)
<ciso646> (until C++20)
<stdatomic.h>
 
Experimental library headers
Filesystem TS
<experimental/filesystem>
Parallelism TS (v1, v2)
Library Fundamentals TS (v1, v2, v3)
Concurrency TS
Ranges TS
Coroutines TS
<experimental/coroutine>
Networking TS
Reflection TS
<experimental/reflect>
 

This header is part of the filesystem library.

Defined in namespace std::experimental::filesystem
Defined in inline namespace std::experimental::filesystem::v1

Classes

represents a path
(class)
an exception thrown on file system errors
(class)
a directory entry
(class)
an iterator to the contents of the directory
(class)
an iterator to the contents of a directory and its subdirectories
(class)
represents file type and permissions
(class)
information about free and available space on the filesystem
(class)
the type of a file
(enum)
identifies file system permissions
(enum)
specifies semantics of copy operations
(enum)
options for iterating directory contents
(enum)
represents file time values
(typedef)

Functions

swaps two paths
(function)
calculates a hash value for a path object
(function)
lexicographically compares two paths
(function)
concatenates two paths with a directory separator
(function)
performs stream input and output on a path
(function)
creates a path from a UTF-8 encoded source
(function)
range-based for loop support
(function)
range-based for loop support
(function)
composes an absolute path
converts a path to an absolute path replicating OS-specific behavior
(function)
composes a canonical path
(function)
copies files or directories
(function)
copies file contents
(function)
copies a symbolic link
(function)
creates new directory
(function)
creates a hard link
(function)
creates a symbolic link
(function)
return current working directory
(function)
checks whether path refers to existing file system object
(function)
checks whether two paths refer to the same file system object
(function)
returns the size of a file
(function)
returns the number of hard links referring to the specific file
(function)
gets or sets the time of the last data modification
(function)
modifies file access permissions
(function)
obtains the target of a symbolic link
(function)
removes a file or empty directory
removes a file or directory and all its contents, recursively
(function)
moves or renames a file or directory
(function)
changes the size of a regular file by truncation or zero-fill
(function)
determines available free space on the file system
(function)
determines file attributes
determines file attributes, checking the symlink target
(function)
returns a directory suitable for temporary files
(function)
File types
checks whether the given path refers to block device
(function)
checks whether the given path refers to a character device
(function)
checks whether the given path refers to a directory
(function)
checks whether the given path refers to an empty file or directory
(function)
checks whether the given path refers to a named pipe
(function)
checks whether the argument refers to an other file
(function)
checks whether the argument refers to a regular file
(function)
checks whether the argument refers to a named IPC socket
(function)
checks whether the argument refers to a symbolic link
(function)
checks whether file status is known
(function)