![]() |
![]()
| ![]() |
![]()
NAMEstd::filesystem::path::root_path - std::filesystem::path::root_path Synopsispath root_path() const; (since C++17)
Parameters(none) Return valueThe root path of the path. ExceptionsMay throw implementation-defined exceptions. Example// Run this code
Possible output:Current root path is: "C:\" See also root_name returns the root-name of the path, if present
|