GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::filesystem::is_directory(3) C++ Standard Libary std::experimental::filesystem::is_directory(3)

std::experimental::filesystem::is_directory - std::experimental::filesystem::is_directory


Defined in header <experimental/filesystem>
bool is_directory( file_status s ); (1) (filesystem TS)
bool is_directory( const path& p ); (2) (filesystem TS)
bool is_directory( const path& p, error_code& ec ); (3) (filesystem TS)


Checks if the given file status or path corresponds to a directory.


1) Equivalent to s.type() == file_type::directory.
2) Equivalent to is_directory(status(p)).
3) Equivalent to is_directory(status(p, ec)). Returns false if error occurs.


s - file status to check
p - path to query
ec - error code to modify in case of errors


true if the given path or file status corresponds to a directory, false otherwise.


1,3)
noexcept specification:
noexcept
2) Throws filesystem_error if an error occurs. The exception object is constructed
with p as an argument.


This section is incomplete

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.