std::filesy...path::clear(3)
π std::filesystem::path::clear π
okay bestie, welcome to the std::filesystem::path::clear page from the C++ Standard Libary manual. This one is short, sweet, and iconic β itβs the little function that clears the stored pathname. β¨
β¨ NAME β¨
std::filesystem::path::clear β std::filesystem::path::clear. no cap, thatβs the name and the one-liner doing the same little dance. π
πΈ Synopsis πΈ
void clear() noexcept; (since C++17)
so itβs void, it takes no args, and itβs noexcept. it clears the stored pathname. empty() is true after the call. π
π Parameters π
Parameters: (none) β bestie, there are literally no parameters. zero. zip. nada. π
π¦ Return value π¦
Return value: (none) β it returns nothing, because void said βnot today.β periodt. π
mwah π β source/version: http://cppreference.com, date: 2024.06.10.
π¦ 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