[#fs-operator_plus] = xref:fs.adoc[fs]::operator+ :relfileprefix: ../ :mrdocs: Deleted catch‐all overload that forbids unsafe path concatenation via operator+. == Synopsis Declared in `<util/fs.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> static xref:fs/path.adoc[path] operator+( xref:fs/path.adoc[path] p1, T p2) = delete; ---- == Return Value Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path::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]#