Return the concatenation of the specified path and the specified string using the preferred directory separator if appropriate.
Synopsis
Declared in <bsl_filesystem.h>
template<
class t_PATH,
class t_STRING,
int = 0>
requires std::conjunction_v<std::is_base_of<filesystem::path, t_PATH>,
std::is_base_of<bsl::string, t_STRING> >
std::filesystem::path
operator/(
t_PATH path,
t_STRING const& string);
Return Value
path formed by appending string to path
Parameters
Name |
Description |
path |
left‐hand path operand |
string |
string to concatenate after |
Created with MrDocs