[#fs-path-2constructor-066] = xref:fs.adoc[fs]::xref:fs/path.adoc[path]::path :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<util/fs.h>` Construct from a std::filesystem::path, for compatibility with standard‐library APIs. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:fs/path/2constructor-09.adoc[path](std::filesystem::path path); ---- [.small]#xref:fs/path/2constructor-09.adoc[_» more..._]# Deleted to forbid std::string construction, which decodes locale‐dependently on Windows. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:fs/path/2constructor-060.adoc[path](std::string s) = delete; ---- [.small]#xref:fs/path/2constructor-060.adoc[_» more..._]# Construct from a C string literal, which is safe as long as the literal is ASCII. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:fs/path/2constructor-02.adoc[path](char const* c); ---- [.small]#xref:fs/path/2constructor-02.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *path* | The standard path to move from. | *s* | The string that would be constructed from. | *c* | The null‐terminated string to construct from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#