libstdc++
File System

Files

file  filesystem
 

Typedefs

using std::filesystem::path::const_iterator = iterator
 
using std::filesystem::path::_List::const_iterator = const value_type *
 
typedef ptrdiff_t std::filesystem::directory_iterator::difference_type
 
typedef ptrdiff_t std::filesystem::recursive_directory_iterator::difference_type
 
using std::filesystem::path::iterator::difference_type = std::ptrdiff_t
 
using std::filesystem::file_time_type = __file_clock::time_point
 
using std::filesystem::path::_List::iterator = value_type *
 
typedef input_iterator_tag std::filesystem::directory_iterator::iterator_category
 
typedef input_iterator_tag std::filesystem::recursive_directory_iterator::iterator_category
 
using std::filesystem::path::iterator::iterator_category = std::bidirectional_iterator_tag
 
typedef const directory_entrystd::filesystem::directory_iterator::pointer
 
typedef const directory_entrystd::filesystem::recursive_directory_iterator::pointer
 
using std::filesystem::path::iterator::pointer = const path *
 
typedef const directory_entrystd::filesystem::directory_iterator::reference
 
typedef const directory_entrystd::filesystem::recursive_directory_iterator::reference
 
using std::filesystem::path::iterator::reference = const path &
 
using std::filesystem::path::string_type = std::basic_string< value_type >
 
typedef directory_entry std::filesystem::directory_iterator::value_type
 
typedef directory_entry std::filesystem::recursive_directory_iterator::value_type
 
using std::filesystem::path::value_type = char
 
using std::filesystem::path::_List::value_type = _Cmpt
 
using std::filesystem::path::iterator::value_type = path
 

Enumerations

enum class  std::filesystem::copy_options : unsigned short {
  none , skip_existing , overwrite_existing , update_existing ,
  recursive , copy_symlinks , skip_symlinks , directories_only ,
  create_symlinks , create_hard_links
}
 
enum class  directory_options : unsigned char { none , follow_directory_symlink , skip_permission_denied }
 
enum class  file_type : signed char {
  none , not_found , regular , directory ,
  symlink , block , character , fifo ,
  socket , unknown
}
 
enum  std::filesystem::path::format : unsigned char { native_format , generic_format , auto_format }
 
enum class  std::filesystem::perm_options : unsigned { replace , add , remove , nofollow }
 
enum class  std::filesystem::perms : unsigned {
  none , owner_read , owner_write , owner_exec ,
  owner_all , group_read , group_write , group_exec ,
  group_all , others_read , others_write , others_exec ,
  others_all , all , set_uid , set_gid ,
  sticky_bit , mask , unknown
}
 

Functions

 std::filesystem::path::_List::_List (_List &&)=default
 
 std::filesystem::path::_List::_List (const _List &)
 
 std::filesystem::directory_entry::directory_entry (const directory_entry &)=default
 
 std::filesystem::directory_entry::directory_entry (const filesystem::path &__p)
 
 std::filesystem::directory_entry::directory_entry (const filesystem::path &__p, error_code &__ec)
 
 std::filesystem::directory_entry::directory_entry (directory_entry &&) noexcept=default
 
 std::filesystem::directory_iterator::directory_iterator (const directory_iterator &__rhs)=default
 
 std::filesystem::directory_iterator::directory_iterator (const path &__p)
 
 std::filesystem::directory_iterator::directory_iterator (const path &__p, directory_options __options)
 
 std::filesystem::directory_iterator::directory_iterator (const path &__p, directory_options __options, error_code &__ec)
 
 std::filesystem::directory_iterator::directory_iterator (const path &__p, error_code &__ec)
 
 std::filesystem::directory_iterator::directory_iterator (directory_iterator &&__rhs) noexcept=default
 
 std::filesystem::file_status::file_status (const file_status &) noexcept=default
 
 std::filesystem::file_status::file_status (file_status &&) noexcept=default
 
 std::filesystem::file_status::file_status (file_type __ft, perms __prms=perms::unknown) noexcept
 
 std::filesystem::filesystem_error::filesystem_error (const filesystem_error &)=default
 
 std::filesystem::filesystem_error::filesystem_error (const string &__what_arg, const path &__p1, const path &__p2, error_code __ec)
 
 std::filesystem::filesystem_error::filesystem_error (const string &__what_arg, const path &__p1, error_code __ec)
 
 std::filesystem::filesystem_error::filesystem_error (const string &__what_arg, error_code __ec)
 
 std::filesystem::path::iterator::iterator (const iterator &)=default
 
template<typename _InputIterator , typename _Require = __detail::_Path2<_InputIterator>, typename _Req2 = __detail::__value_type_is_char<_InputIterator>>
 std::filesystem::path::path (_InputIterator __first, _InputIterator __last, const locale &__loc, format=auto_format)
 
template<typename _InputIterator , typename _Require = __detail::_Path2<_InputIterator>>
 std::filesystem::path::path (_InputIterator __first, _InputIterator __last, format=auto_format)
 
template<typename _Source , typename _Require = __detail::_Path<_Source>>
 std::filesystem::path::path (_Source const &__source, format=auto_format)
 
template<typename _Source , typename _Require = __detail::_Path<_Source>, typename _Require2 = __detail::__value_type_is_char<_Source>>
 std::filesystem::path::path (_Source const &__src, const locale &__loc, format=auto_format)
 
 std::filesystem::path::path (const path &__p)=default
 
 std::filesystem::path::path (path &&__p) noexcept
 
 std::filesystem::path::path (string_type &&__source, format=auto_format)
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (const path &__p)
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (const path &__p, directory_options __options)
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (const path &__p, directory_options __options, error_code &__ec)
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (const path &__p, error_code &__ec)
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (const recursive_directory_iterator &)=default
 
 std::filesystem::recursive_directory_iterator::recursive_directory_iterator (recursive_directory_iterator &&)=default
 
void std::filesystem::path::_List::_M_erase_from (const_iterator __pos)
 
path std::filesystem::absolute (const path &__p)
 
path std::filesystem::absolute (const path &__p, error_code &__ec)
 
template<typename _InputIterator >
__detail::_Path2< _InputIterator > & std::filesystem::path::append (_InputIterator __first, _InputIterator __last)
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::append (_Source const &__source)
 
template<typename _InputIterator >
__detail::_Path2< _InputIterator > & std::filesystem::path::assign (_InputIterator __first, _InputIterator __last)
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::assign (_Source const &__source)
 
void std::filesystem::directory_entry::assign (const filesystem::path &__p)
 
void std::filesystem::directory_entry::assign (const filesystem::path &__p, error_code &__ec)
 
pathstd::filesystem::path::assign (string_type &&__source)
 
const value_type & std::filesystem::path::_List::back () const noexcept
 
value_type & std::filesystem::path::_List::back () noexcept
 
iterator std::filesystem::path::begin () const
 
const_iterator std::filesystem::path::_List::begin () const noexcept
 
iterator std::filesystem::path::_List::begin () noexcept
 
const value_type * std::filesystem::path::c_str () const noexcept
 
path std::filesystem::canonical (const path &__p)
 
path std::filesystem::canonical (const path &__p, error_code &__ec)
 
int std::filesystem::path::_List::capacity () const noexcept
 
void std::filesystem::path::_List::clear ()
 
void std::filesystem::path::clear () noexcept
 
int std::filesystem::path::compare (basic_string_view< value_type > __s) const noexcept
 
int std::filesystem::path::compare (const path &__p) const noexcept
 
int std::filesystem::path::compare (const string_type &__s) const noexcept
 
int std::filesystem::path::compare (const value_type *__s) const noexcept
 
template<typename _InputIterator >
__detail::_Path2< _InputIterator > & std::filesystem::path::concat (_InputIterator __first, _InputIterator __last)
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::concat (_Source const &__x)
 
void std::filesystem::copy (const path &__from, const path &__to)
 
void std::filesystem::copy (const path &__from, const path &__to, copy_options __options)
 
void std::filesystem::copy (const path &__from, const path &__to, copy_options __options, error_code &)
 
void std::filesystem::copy (const path &__from, const path &__to, error_code &__ec)
 
bool std::filesystem::copy_file (const path &__from, const path &__to)
 
bool std::filesystem::copy_file (const path &__from, const path &__to, copy_options __option)
 
bool std::filesystem::copy_file (const path &__from, const path &__to, copy_options __option, error_code &)
 
bool std::filesystem::copy_file (const path &__from, const path &__to, error_code &__ec)
 
void std::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink)
 
void std::filesystem::copy_symlink (const path &__existing_symlink, const path &__new_symlink, error_code &__ec) noexcept
 
bool std::filesystem::create_directories (const path &__p)
 
bool std::filesystem::create_directories (const path &__p, error_code &__ec)
 
bool std::filesystem::create_directory (const path &__p)
 
bool std::filesystem::create_directory (const path &__p, const path &attributes)
 
bool std::filesystem::create_directory (const path &__p, const path &attributes, error_code &__ec) noexcept
 
bool std::filesystem::create_directory (const path &__p, error_code &__ec) noexcept
 
void std::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink)
 
void std::filesystem::create_directory_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
 
void std::filesystem::create_hard_link (const path &__to, const path &__new_hard_link)
 
void std::filesystem::create_hard_link (const path &__to, const path &__new_hard_link, error_code &__ec) noexcept
 
void std::filesystem::create_symlink (const path &__to, const path &__new_symlink)
 
void std::filesystem::create_symlink (const path &__to, const path &__new_symlink, error_code &__ec) noexcept
 
path std::filesystem::current_path ()
 
void std::filesystem::current_path (const path &__p)
 
void std::filesystem::current_path (const path &__p, error_code &__ec) noexcept
 
path std::filesystem::current_path (error_code &__ec)
 
int std::filesystem::recursive_directory_iterator::depth () const noexcept
 
void std::filesystem::recursive_directory_iterator::disable_recursion_pending () noexcept
 
bool std::filesystem::path::empty () const noexcept
 
bool std::filesystem::path::_List::empty () const noexcept
 
iterator std::filesystem::path::end () const
 
const_iterator std::filesystem::path::_List::end () const noexcept
 
iterator std::filesystem::path::_List::end () noexcept
 
bool std::filesystem::equivalent (const path &__p1, const path &__p2)
 
bool std::filesystem::equivalent (const path &__p1, const path &__p2, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::exists () const
 
bool std::filesystem::exists (const path &__p)
 
bool std::filesystem::exists (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::exists (error_code &__ec) const noexcept
 
bool std::filesystem::exists (file_status) noexcept
 
path std::filesystem::path::extension () const
 
uintmax_t std::filesystem::directory_entry::file_size () const
 
uintmax_t std::filesystem::file_size (const path &)
 
uintmax_t std::filesystem::file_size (const path &, error_code &) noexcept
 
uintmax_t std::filesystem::directory_entry::file_size (error_code &__ec) const noexcept
 
path std::filesystem::path::filename () const
 
const value_type & std::filesystem::path::_List::front () const noexcept
 
value_type & std::filesystem::path::_List::front () noexcept
 
std::string std::filesystem::path::generic_string () const
 
template<typename _CharT , typename _Traits = std::char_traits<_CharT>, typename _Allocator = std::allocator<_CharT>>
std::basic_string< _CharT, _Traits, _Allocator > std::filesystem::path::generic_string (const _Allocator &__a=_Allocator()) const
 
std::u16string std::filesystem::path::generic_u16string () const
 
std::u32string std::filesystem::path::generic_u32string () const
 
std::string std::filesystem::path::generic_u8string () const
 
std::wstring std::filesystem::path::generic_wstring () const
 
uintmax_t std::filesystem::directory_entry::hard_link_count () const
 
uintmax_t std::filesystem::hard_link_count (const path &)
 
uintmax_t std::filesystem::hard_link_count (const path &, error_code &) noexcept
 
uintmax_t std::filesystem::directory_entry::hard_link_count (error_code &__ec) const noexcept
 
bool std::filesystem::path::has_extension () const noexcept
 
bool std::filesystem::path::has_filename () const noexcept
 
bool std::filesystem::path::has_parent_path () const noexcept
 
bool std::filesystem::path::has_relative_path () const noexcept
 
bool std::filesystem::path::has_root_directory () const noexcept
 
bool std::filesystem::path::has_root_name () const noexcept
 
bool std::filesystem::path::has_root_path () const noexcept
 
bool std::filesystem::path::has_stem () const noexcept
 
directory_iteratorstd::filesystem::directory_iterator::increment (error_code &__ec)
 
recursive_directory_iteratorstd::filesystem::recursive_directory_iterator::increment (error_code &__ec)
 
bool std::filesystem::path::is_absolute () const noexcept
 
bool std::filesystem::directory_entry::is_block_file () const
 
bool std::filesystem::is_block_file (const path &__p)
 
bool std::filesystem::is_block_file (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_block_file (error_code &__ec) const noexcept
 
bool std::filesystem::is_block_file (file_status __s) noexcept
 
bool std::filesystem::directory_entry::is_character_file () const
 
bool std::filesystem::is_character_file (const path &__p)
 
bool std::filesystem::is_character_file (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_character_file (error_code &__ec) const noexcept
 
bool std::filesystem::is_character_file (file_status __s) noexcept
 
bool std::filesystem::directory_entry::is_directory () const
 
bool std::filesystem::is_directory (const path &__p)
 
bool std::filesystem::is_directory (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_directory (error_code &__ec) const noexcept
 
bool std::filesystem::is_directory (file_status __s) noexcept
 
bool std::filesystem::is_empty (const path &__p)
 
bool std::filesystem::is_empty (const path &__p, error_code &__ec)
 
bool std::filesystem::directory_entry::is_fifo () const
 
bool std::filesystem::is_fifo (const path &__p)
 
bool std::filesystem::is_fifo (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_fifo (error_code &__ec) const noexcept
 
bool std::filesystem::is_fifo (file_status __s) noexcept
 
bool std::filesystem::directory_entry::is_other () const
 
bool std::filesystem::is_other (const path &__p)
 
bool std::filesystem::is_other (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_other (error_code &__ec) const noexcept
 
bool std::filesystem::is_other (file_status) noexcept
 
bool std::filesystem::directory_entry::is_regular_file () const
 
bool std::filesystem::is_regular_file (const path &__p)
 
bool std::filesystem::is_regular_file (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_regular_file (error_code &__ec) const noexcept
 
bool std::filesystem::is_regular_file (file_status) noexcept
 
bool std::filesystem::path::is_relative () const noexcept
 
bool std::filesystem::directory_entry::is_socket () const
 
bool std::filesystem::is_socket (const path &__p)
 
bool std::filesystem::is_socket (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_socket (error_code &__ec) const noexcept
 
bool std::filesystem::is_socket (file_status __s) noexcept
 
bool std::filesystem::directory_entry::is_symlink () const
 
bool std::filesystem::is_symlink (const path &__p)
 
bool std::filesystem::is_symlink (const path &__p, error_code &__ec) noexcept
 
bool std::filesystem::directory_entry::is_symlink (error_code &__ec) const noexcept
 
bool std::filesystem::is_symlink (file_status) noexcept
 
file_time_type std::filesystem::directory_entry::last_write_time () const
 
file_time_type std::filesystem::last_write_time (const path &)
 
file_time_type std::filesystem::last_write_time (const path &, error_code &) noexcept
 
void std::filesystem::last_write_time (const path &__p, file_time_type __new_time)
 
void std::filesystem::last_write_time (const path &__p, file_time_type __new_time, error_code &__ec) noexcept
 
file_time_type std::filesystem::directory_entry::last_write_time (error_code &__ec) const noexcept
 
path std::filesystem::path::lexically_normal () const
 
path std::filesystem::path::lexically_proximate (const path &base) const
 
path std::filesystem::path::lexically_relative (const path &base) const
 
pathstd::filesystem::path::make_preferred ()
 
const string_typestd::filesystem::path::native () const noexcept
 
 std::filesystem::directory_entry::operator const filesystem::path & () const noexcept
 
 std::filesystem::path::operator string_type () const
 
bool std::filesystem::directory_entry::operator!= (const directory_entry &__rhs) const noexcept
 
constexpr copy_options std::filesystem::operator& (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::filesystem::operator& (directory_options __x, directory_options __y) noexcept
 
constexpr perm_options std::filesystem::operator& (perm_options __x, perm_options __y) noexcept
 
constexpr perms std::filesystem::operator& (perms __x, perms __y) noexcept
 
copy_optionsstd::filesystem::operator&= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::filesystem::operator&= (directory_options &__x, directory_options __y) noexcept
 
perm_optionsstd::filesystem::operator&= (perm_options &__x, perm_options __y) noexcept
 
permsstd::filesystem::operator&= (perms &__x, perms __y) noexcept
 
void std::filesystem::path::_List::_Impl_deleter::operator() (_Impl *) const noexcept
 
directory_entry std::filesystem::__directory_iterator_proxy::operator* () &&noexcept
 
reference std::filesystem::path::iterator::operator* () const
 
const directory_entrystd::filesystem::__directory_iterator_proxy::operator* () const &noexcept
 
const directory_entrystd::filesystem::directory_iterator::operator* () const noexcept
 
const directory_entrystd::filesystem::recursive_directory_iterator::operator* () const noexcept
 
directory_iteratorstd::filesystem::directory_iterator::operator++ ()
 
recursive_directory_iteratorstd::filesystem::recursive_directory_iterator::operator++ ()
 
iteratorstd::filesystem::path::iterator::operator++ ()
 
__directory_iterator_proxy std::filesystem::directory_iterator::operator++ (int)
 
__directory_iterator_proxy std::filesystem::recursive_directory_iterator::operator++ (int)
 
iterator std::filesystem::path::iterator::operator++ (int)
 
template<typename _CharT >
__detail::_Path2< _CharT * > & std::filesystem::path::operator+= (_CharT __x)
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::operator+= (_Source const &__x)
 
pathstd::filesystem::path::operator+= (basic_string_view< value_type > __x)
 
pathstd::filesystem::path::operator+= (const path &__x)
 
pathstd::filesystem::path::operator+= (const string_type &__x)
 
pathstd::filesystem::path::operator+= (const value_type *__x)
 
pathstd::filesystem::path::operator+= (value_type __x)
 
iteratorstd::filesystem::path::iterator::operator-- ()
 
iterator std::filesystem::path::iterator::operator-- (int)
 
pointer std::filesystem::path::iterator::operator-> () const
 
const directory_entrystd::filesystem::directory_iterator::operator-> () const noexcept
 
const directory_entrystd::filesystem::recursive_directory_iterator::operator-> () const noexcept
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::operator/= (_Source const &__source)
 
pathstd::filesystem::path::operator/= (const path &__p)
 
bool std::filesystem::directory_entry::operator< (const directory_entry &__rhs) const noexcept
 
bool std::filesystem::directory_entry::operator<= (const directory_entry &__rhs) const noexcept
 
_List & std::filesystem::path::_List::operator= (_List &&)=default
 
template<typename _Source >
__detail::_Path< _Source > & std::filesystem::path::operator= (_Source const &__source)
 
_List & std::filesystem::path::_List::operator= (const _List &)
 
directory_entrystd::filesystem::directory_entry::operator= (const directory_entry &)=default
 
directory_iteratorstd::filesystem::directory_iterator::operator= (const directory_iterator &__rhs)=default
 
file_statusstd::filesystem::file_status::operator= (const file_status &) noexcept=default
 
filesystem_errorstd::filesystem::filesystem_error::operator= (const filesystem_error &)=default
 
iteratorstd::filesystem::path::iterator::operator= (const iterator &)=default
 
pathstd::filesystem::path::operator= (const path &)
 
recursive_directory_iteratorstd::filesystem::recursive_directory_iterator::operator= (const recursive_directory_iterator &__rhs) noexcept
 
directory_entrystd::filesystem::directory_entry::operator= (directory_entry &&) noexcept=default
 
directory_iteratorstd::filesystem::directory_iterator::operator= (directory_iterator &&__rhs) noexcept=default
 
file_statusstd::filesystem::file_status::operator= (file_status &&) noexcept=default
 
pathstd::filesystem::path::operator= (path &&) noexcept
 
recursive_directory_iteratorstd::filesystem::recursive_directory_iterator::operator= (recursive_directory_iterator &&__rhs) noexcept
 
pathstd::filesystem::path::operator= (string_type &&__source)
 
bool std::filesystem::directory_entry::operator== (const directory_entry &__rhs) const noexcept
 
bool std::filesystem::directory_entry::operator> (const directory_entry &__rhs) const noexcept
 
bool std::filesystem::directory_entry::operator>= (const directory_entry &__rhs) const noexcept
 
constexpr copy_options std::filesystem::operator^ (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::filesystem::operator^ (directory_options __x, directory_options __y) noexcept
 
constexpr perm_options std::filesystem::operator^ (perm_options __x, perm_options __y) noexcept
 
constexpr perms std::filesystem::operator^ (perms __x, perms __y) noexcept
 
copy_optionsstd::filesystem::operator^= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::filesystem::operator^= (directory_options &__x, directory_options __y) noexcept
 
perm_optionsstd::filesystem::operator^= (perm_options &__x, perm_options __y) noexcept
 
permsstd::filesystem::operator^= (perms &__x, perms __y) noexcept
 
constexpr copy_options std::filesystem::operator| (copy_options __x, copy_options __y) noexcept
 
constexpr directory_options std::filesystem::operator| (directory_options __x, directory_options __y) noexcept
 
constexpr perm_options std::filesystem::operator| (perm_options __x, perm_options __y) noexcept
 
constexpr perms std::filesystem::operator| (perms __x, perms __y) noexcept
 
copy_optionsstd::filesystem::operator|= (copy_options &__x, copy_options __y) noexcept
 
directory_options & std::filesystem::operator|= (directory_options &__x, directory_options __y) noexcept
 
perm_optionsstd::filesystem::operator|= (perm_options &__x, perm_options __y) noexcept
 
permsstd::filesystem::operator|= (perms &__x, perms __y) noexcept
 
constexpr copy_options std::filesystem::operator~ (copy_options __x) noexcept
 
constexpr directory_options std::filesystem::operator~ (directory_options __x) noexcept
 
constexpr perm_options std::filesystem::operator~ (perm_options __x) noexcept
 
constexpr perms std::filesystem::operator~ (perms __x) noexcept
 
directory_options std::filesystem::recursive_directory_iterator::options () const noexcept
 
path std::filesystem::path::parent_path () const
 
const filesystem::pathstd::filesystem::directory_entry::path () const noexcept
 
const pathstd::filesystem::filesystem_error::path1 () const noexcept
 
const pathstd::filesystem::filesystem_error::path2 () const noexcept
 
perms std::filesystem::file_status::permissions () const noexcept
 
void std::filesystem::permissions (const path &, perms, perm_options, error_code &) noexcept
 
void std::filesystem::permissions (const path &__p, perms __prms, error_code &__ec) noexcept
 
void std::filesystem::permissions (const path &__p, perms __prms, perm_options __opts=perm_options::replace)
 
void std::filesystem::file_status::permissions (perms __prms) noexcept
 
void std::filesystem::recursive_directory_iterator::pop ()
 
void std::filesystem::recursive_directory_iterator::pop (error_code &)
 
void std::filesystem::path::_List::pop_back ()
 
path std::filesystem::proximate (const path &__p, const path &__base, error_code &__ec)
 
path std::filesystem::proximate (const path &__p, const path &__base=current_path())
 
path std::filesystem::proximate (const path &__p, error_code &__ec)
 
path std::filesystem::read_symlink (const path &__p)
 
path std::filesystem::read_symlink (const path &__p, error_code &__ec)
 
bool std::filesystem::recursive_directory_iterator::recursion_pending () const noexcept
 
void std::filesystem::directory_entry::refresh ()
 
void std::filesystem::directory_entry::refresh (error_code &__ec) noexcept
 
path std::filesystem::relative (const path &__p, const path &__base, error_code &__ec)
 
path std::filesystem::relative (const path &__p, const path &__base=current_path())
 
path std::filesystem::relative (const path &__p, error_code &__ec)
 
path std::filesystem::path::relative_path () const
 
bool std::filesystem::remove (const path &__p)
 
bool std::filesystem::remove (const path &__p, error_code &__ec) noexcept
 
uintmax_t std::filesystem::remove_all (const path &__p)
 
uintmax_t std::filesystem::remove_all (const path &__p, error_code &__ec)
 
pathstd::filesystem::path::remove_filename ()
 
void std::filesystem::rename (const path &__from, const path &__to)
 
void std::filesystem::rename (const path &__from, const path &__to, error_code &__ec) noexcept
 
pathstd::filesystem::path::replace_extension (const path &__replacement=path())
 
void std::filesystem::directory_entry::replace_filename (const filesystem::path &__p)
 
void std::filesystem::directory_entry::replace_filename (const filesystem::path &__p, error_code &__ec)
 
pathstd::filesystem::path::replace_filename (const path &__replacement)
 
void std::filesystem::path::_List::reserve (int, bool)
 
void std::filesystem::resize_file (const path &__p, uintmax_t __size)
 
void std::filesystem::resize_file (const path &__p, uintmax_t __size, error_code &__ec) noexcept
 
path std::filesystem::path::root_directory () const
 
path std::filesystem::path::root_name () const
 
path std::filesystem::path::root_path () const
 
int std::filesystem::path::_List::size () const noexcept
 
space_info std::filesystem::space (const path &__p)
 
space_info std::filesystem::space (const path &__p, error_code &__ec) noexcept
 
file_status std::filesystem::directory_entry::status () const
 
file_status std::filesystem::status (const path &)
 
file_status std::filesystem::status (const path &, error_code &) noexcept
 
file_status std::filesystem::directory_entry::status (error_code &__ec) const noexcept
 
bool std::filesystem::status_known (file_status) noexcept
 
path std::filesystem::path::stem () const
 
std::string std::filesystem::path::string () const
 
template<typename _CharT , typename _Traits = std::char_traits<_CharT>, typename _Allocator = std::allocator<_CharT>>
std::basic_string< _CharT, _Traits, _Allocator > std::filesystem::path::string (const _Allocator &__a=_Allocator()) const
 
void std::filesystem::path::_List::swap (_List &__l) noexcept
 
void std::filesystem::path::swap (path &__rhs) noexcept
 
file_status std::filesystem::directory_entry::symlink_status () const
 
file_status std::filesystem::symlink_status (const path &)
 
file_status std::filesystem::symlink_status (const path &, error_code &) noexcept
 
file_status std::filesystem::directory_entry::symlink_status (error_code &__ec) const noexcept
 
path std::filesystem::temp_directory_path ()
 
path std::filesystem::temp_directory_path (error_code &__ec)
 
file_type std::filesystem::file_status::type () const noexcept
 
_Type std::filesystem::path::_List::type () const noexcept
 
void std::filesystem::path::_List::type (_Type) noexcept
 
void std::filesystem::file_status::type (file_type __ft) noexcept
 
std::u16string std::filesystem::path::u16string () const
 
std::u32string std::filesystem::path::u32string () const
 
template<typename _InputIterator , typename _Require = __detail::_Path2<_InputIterator>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_InputIterator>>
path u8path (_InputIterator __first, _InputIterator __last)
 
template<typename _Source , typename _Require = __detail::_Path<_Source>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_Source>>
path u8path (const _Source &__source)
 
std::string std::filesystem::path::u8string () const
 
path std::filesystem::weakly_canonical (const path &__p)
 
path std::filesystem::weakly_canonical (const path &__p, error_code &__ec)
 
const char * std::filesystem::filesystem_error::what () const noexcept
 
std::wstring std::filesystem::path::wstring () const
 

Variables

unique_ptr< _Impl, _Impl_deleter > std::filesystem::path::_List::_M_impl
 
uintmax_t std::filesystem::space_info::available
 
uintmax_t std::filesystem::space_info::capacity
 
uintmax_t std::filesystem::space_info::free
 
static constexpr value_type std::filesystem::path::preferred_separator
 

Friends

void std::filesystem::path::iterator::__path_iter_advance (iterator &__i, difference_type __n)
 
difference_type std::filesystem::path::iterator::__path_iter_distance (const iterator &__first, const iterator &__last)
 
struct std::filesystem::directory_entry::_Dir
 
class std::filesystem::directory_entry::directory_iterator
 
class std::filesystem::__directory_iterator_proxy::directory_iterator
 
bool std::filesystem::directory_iterator::operator!= (const directory_iterator &__lhs, const directory_iterator &__rhs) noexcept
 
bool std::filesystem::path::iterator::operator!= (const iterator &__lhs, const iterator &__rhs)
 
bool std::filesystem::path::operator!= (const path &__lhs, const path &__rhs) noexcept
 
bool std::filesystem::recursive_directory_iterator::operator!= (const recursive_directory_iterator &__lhs, const recursive_directory_iterator &__rhs) noexcept
 
path std::filesystem::path::operator/ (const path &__lhs, const path &__rhs)
 
bool std::filesystem::path::operator< (const path &__lhs, const path &__rhs) noexcept
 
template<typename _CharT , typename _Traits >
basic_ostream< _CharT, _Traits > & std::filesystem::directory_entry::operator<< (basic_ostream< _CharT, _Traits > &__os, const directory_entry &__d)
 
template<typename _CharT , typename _Traits >
std::basic_ostream< _CharT, _Traits > & std::filesystem::path::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const path &__p)
 
bool std::filesystem::path::operator<= (const path &__lhs, const path &__rhs) noexcept
 
bool std::filesystem::directory_iterator::operator== (const directory_iterator &__lhs, const directory_iterator &__rhs) noexcept
 
bool std::filesystem::path::iterator::operator== (const iterator &__lhs, const iterator &__rhs)
 
bool std::filesystem::path::operator== (const path &__lhs, const path &__rhs) noexcept
 
bool std::filesystem::recursive_directory_iterator::operator== (const recursive_directory_iterator &__lhs, const recursive_directory_iterator &__rhs) noexcept
 
bool std::filesystem::path::operator> (const path &__lhs, const path &__rhs) noexcept
 
bool std::filesystem::path::operator>= (const path &__lhs, const path &__rhs) noexcept
 
template<typename _CharT , typename _Traits >
std::basic_istream< _CharT, _Traits > & std::filesystem::path::operator>> (std::basic_istream< _CharT, _Traits > &__is, path &__p)
 
class std::filesystem::path::iterator::path
 
class std::filesystem::directory_entry::recursive_directory_iterator
 
class std::filesystem::__directory_iterator_proxy::recursive_directory_iterator
 
class std::filesystem::directory_iterator::recursive_directory_iterator
 
directory_iterator begin (directory_iterator __iter) noexcept
 
directory_iterator end (directory_iterator) noexcept
 
recursive_directory_iterator begin (recursive_directory_iterator __iter) noexcept
 
recursive_directory_iterator end (recursive_directory_iterator) noexcept
 
void swap (path &__lhs, path &__rhs) noexcept
 
size_t hash_value (const path &__p) noexcept
 

Detailed Description

Utilities for performing operations on file systems and their components, such as paths, regular files, and directories.

Enumeration Type Documentation

◆ copy_options

enum std::filesystem::copy_options : unsigned short
strong

Bitmask type.

Definition at line 81 of file bits/fs_fwd.h.

◆ format

enum std::filesystem::path::format : unsigned char

path::format is ignored in this implementation

Definition at line 263 of file bits/fs_path.h.

◆ perm_options

enum std::filesystem::perm_options : unsigned
strong

Bitmask type.

Definition at line 200 of file bits/fs_fwd.h.

◆ perms

enum std::filesystem::perms : unsigned
strong

Bitmask type.

Definition at line 134 of file bits/fs_fwd.h.

Function Documentation

◆ begin() [1/2]

directory_iterator begin ( directory_iterator  __iter)
related

Enable range-based for using directory_iterator.

e.g. for (auto& entry : std::filesystem::directory_iterator(".")) ...

Definition at line 451 of file bits/fs_dir.h.

◆ begin() [2/2]

Enable range-based for using recursive_directory_iterator.

e.g. for (auto& entry : recursive_directory_iterator(".")) ...

Definition at line 549 of file bits/fs_dir.h.

◆ end() [1/2]

Return a past-the-end directory_iterator.

Definition at line 456 of file bits/fs_dir.h.

◆ end() [2/2]

Return a past-the-end recursive_directory_iterator.

Definition at line 554 of file bits/fs_dir.h.

◆ reserve()

void std::filesystem::path::_List::reserve ( int  ,
bool   
)
Precondition
type() == _Type::_Multi

◆ u8path() [1/2]

template<typename _InputIterator , typename _Require = __detail::_Path2<_InputIterator>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_InputIterator>>
path u8path ( _InputIterator  __first,
_InputIterator  __last 
)
related

Create a path from a UTF-8-encoded sequence of char

Definition at line 768 of file bits/fs_path.h.

◆ u8path() [2/2]

template<typename _Source , typename _Require = __detail::_Path<_Source>, typename _CharT = __detail::__value_type_is_char_or_char8_t<_Source>>
path u8path ( const _Source &  __source)
related

Create a path from a UTF-8-encoded sequence of char

Definition at line 790 of file bits/fs_path.h.

◆ what()

const char* std::filesystem::filesystem_error::what ( ) const
virtualnoexcept

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from std::runtime_error.

Friends

◆ operator!=

bool operator!= ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 525 of file bits/fs_path.h.

◆ operator/

path operator/ ( const path __lhs,
const path __rhs 
)
friend

Append one path to another.

Definition at line 546 of file bits/fs_path.h.

◆ operator<

bool operator< ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 529 of file bits/fs_path.h.

◆ operator<<

template<typename _CharT , typename _Traits >
std::basic_ostream<_CharT, _Traits>& operator<< ( std::basic_ostream< _CharT, _Traits > &  __os,
const path __p 
)
friend

Write a path to a stream.

Definition at line 494 of file bits/fs_path.h.

◆ operator<=

bool operator<= ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 533 of file bits/fs_path.h.

◆ operator==

bool operator== ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 515 of file bits/fs_path.h.

◆ operator>

bool operator> ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 537 of file bits/fs_path.h.

◆ operator>=

bool operator>= ( const path __lhs,
const path __rhs 
)
friend

Compare paths.

Definition at line 541 of file bits/fs_path.h.

◆ operator>>

template<typename _CharT , typename _Traits >
std::basic_istream<_CharT, _Traits>& operator>> ( std::basic_istream< _CharT, _Traits > &  __is,
path __p 
)
friend

Read a path from a stream.

Definition at line 504 of file bits/fs_path.h.