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