bsl::operator/=

Append the specified string to the specified path using the preferred directory separator if appropriate. Return a reference to path.

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);