std::experi...em::is_empty(3)
π NAME π
Manual name: std::experi...em::is_empty(3) β from the C++ Standard Libary manual, bestie. The NAME is std::experimental::filesystem::is_empty, and then it says std::experimental::filesystem::is_empty again. Itβs giving βsay it twice so they rememberβ energy, honestly. π
πΈ Synopsis πΈ
Defined in header <experimental/filesystem>.
bool is_empty( const path& p ); (1) (filesystem TS)
bool is_empty( const path& p, error_code& ec ); (2) (filesystem TS)
Checks whether the given path refers to an empty file or directory. π
The second version returns false and sets ec to an appropriate error code if an error occurs. Otherwise, ec is cleared with a call to ec.clear(). No cap.
π¦ Parameters π¦
pβ path to examineecβ error code to modify in case of error
β¨ Return value β¨
true if p refers to an empty file or directory, false otherwise.
π₯ Exceptions π₯
filesystem_errorif an error occurs. The exception object is constructed withpas an argument. The error code is set to an appropriate error code for the error that caused the failure. π- noexcept specification:
noexcept
π See also π
This section is incomplete.
π·οΈ Categories π·οΈ
- Noindexed pages
- unconditionally noexcept
- Todo without reason
π Hidden categories π
- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template
Source is http://cppreference.com, version/date is 2024.06.10, and the footer is std::experi...em::is_empty(3) β mwah, bye bestie! ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms