std::filesystem::operator/(std::filesystem::path)
From cppreference.com
< cpp | filesystem | path
| friend path operator/( const path& lhs, const path& rhs ); |
(since C++17) | |
Concatenates two path components using the preferred directory separator if appropriate (see operator/= for details).
Effectively returns path(lhs) /= rhs.
This function is not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when std::filesystem::path is an associated class of the arguments. This prevents undesirable conversions in the presence of a using namespace std::filesystem; using-directive.
Contents |