std::experi...status_known(3)
π std::experi...status_known(3) π
Straight from the C++ Standard Libary, bestie β yes, that spelling is in the original, don't come for me π .
β¨ NAME β¨
std::experimental::filesystem::status_known β that's the whole name, no cap. It's literally the same as the title, so this page is being extra.
π¦ Synopsis π¦
Defined in header <experimental/filesystem>
bool status_known( file_status s ); (1) (filesystem TS)
It checks if the given file status is known β equivalent to s.type() != file_type::none.
πΈ Parameters πΈ
sβ file status to check.
π Return value π
true if the given file status is an unknown file status. That's the exact return-value line, and yes, it says unknown β keeping it 100% as written, no editing.
π Exceptions π
noexcept specification: noexcept.
So it's an unconditionally noexcept situation, and the categories said so too.
π Notes π
Despite the name, the function checks for the file status of file_type::none (meaning an error occurred), not file_type::unknown (meaning file exists, but its type cannot be determined). Like, the name is a little misleading and the page is calling it out. Periodt.
π«Ά See also π«Ά
The original formatting is a whole mood, so here's every piece, bestie:
statusβ determines file attributessymlink_statusβ determines file attributes, checking the symlink target(function)β the floating label from the page- cached status of the file designated by this directory entry
statusβ cachedsymlink_statusof the file designated by this directory entrysymlink_statusβ (public member function ofstd::experimental::filesystem::directory_entry)
π·οΈ Categories: π·οΈ
- Noindexed pages
- unconditionally noexcept
π Hidden categories: π
- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template
okay that's the whole page! source/version: http://cppreference.com, 2024.06.10; date: 2024.06.10; page: std::experi...status_known(3). Bye bestie, stay slaying π
β¨
π¦ 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