[#bsl-operator_slash-04]
= xref:bsl.adoc[bsl]::operator&sol;
:relfileprefix: ../
:mrdocs:

Return the concatenation of the specified `path` and the specified `string` using the preferred directory separator if appropriate&period;

== Synopsis

Declared in `&lt;bsl&lowbar;filesystem&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;PATH,
    class t&lowbar;STRING,
    int = 0&gt;
requires std&colon;&colon;conjunction&lowbar;v&lt;std&colon;&colon;is&lowbar;base&lowbar;of&lt;filesystem&colon;&colon;path, t&lowbar;PATH&gt;,
                                 std&colon;&colon;is&lowbar;base&lowbar;of&lt;bsl&colon;&colon;string, t&lowbar;STRING&gt; &gt;
std::filesystem::path
operator&sol;(
    t&lowbar;PATH path,
    t&lowbar;STRING const& string);
----

== Return Value

path formed by appending `string` to `path`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *path*
| left&hyphen;hand path operand
| *string*
| string to concatenate after `path`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
