Deleted catch‐all overload that forbids unsafe path append operations via operator/.

Synopsis

Declared in <util/fs.h>

template<typename T>
static
path
operator/(
    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

Name

Description

p1

The left operand

p2

The right operand

Created with MrDocs