[#fs-operator_plus]
= xref:fs.adoc[fs]::operator&plus;
:relfileprefix: ../
:mrdocs:

Deleted catch&hyphen;all overload that forbids unsafe path concatenation via operator&plus;&period;

== Synopsis

Declared in `&lt;util&sol;fs&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
static
xref:fs/path.adoc[path]
operator&plus;(
    xref:fs/path.adoc[path] p1,
    T p2) = delete;
----

== Return Value

Path class wrapper to block calls to the fs&colon;&colon;path(std&colon;&colon;string) implicit constructor and the fs&colon;&colon;path&colon;&colon;string() method, which have unsafe and unpredictable behavior on Windows (see implementation note in PathToString for details)

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p1*
| The left operand
| *p2*
| The right operand
|===


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