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)
More...
#include <fs.h>
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)
Definition at line 32 of file fs.h.
◆ path() [1/3]
fs::path::path |
( |
std::filesystem::path |
path | ) |
|
|
inline |
Definition at line 38 of file fs.h.
◆ path() [2/3]
fs::path::path |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 43 of file fs.h.
◆ path() [3/3]
fs::path::path |
( |
std::string |
| ) |
|
|
delete |
◆ append() [1/2]
path & fs::path::append |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 46 of file fs.h.
◆ append() [2/2]
path & fs::path::append |
( |
std::string |
| ) |
|
|
delete |
◆ filename()
path fs::path::filename |
( |
| ) |
const |
|
inline |
Definition at line 72 of file fs.h.
◆ make_preferred()
path & fs::path::make_preferred |
( |
| ) |
|
|
inline |
Definition at line 71 of file fs.h.
◆ operator/=() [1/3]
path & fs::path::operator/= |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 45 of file fs.h.
◆ operator/=() [2/3]
path & fs::path::operator/= |
( |
const std::filesystem::path & |
path | ) |
|
|
inline |
Definition at line 40 of file fs.h.
◆ operator/=() [3/3]
path & fs::path::operator/= |
( |
std::string |
| ) |
|
|
delete |
◆ operator=() [1/3]
path & fs::path::operator= |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 44 of file fs.h.
◆ operator=() [2/3]
path & fs::path::operator= |
( |
std::filesystem::path |
path | ) |
|
|
inline |
Definition at line 39 of file fs.h.
◆ operator=() [3/3]
path & fs::path::operator= |
( |
std::string |
| ) |
|
|
delete |
◆ string()
std::string fs::path::string |
( |
| ) |
const |
|
delete |
◆ utf8string()
std::string fs::path::utf8string |
( |
| ) |
const |
|
inline |
Return a UTF-8 representation of the path as a std::string, for compatibility with code using std::string.
For code using the newer std::u8string type, it is more efficient to call the inherited std::filesystem::path::u8string method instead.
Definition at line 63 of file fs.h.
The documentation for this class was generated from the following file: