bsl::operator/

Return the concatenation of the specified string and the specified path 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_STRING const& string,
    t_PATH const& path);