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 33 of file fs.h.
◆ path() [1/3]
| fs::path::path |
( |
std::filesystem::path |
path | ) |
|
|
inline |
Definition at line 43 of file fs.h.
◆ path() [2/3]
| fs::path::path |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 48 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 51 of file fs.h.
◆ append() [2/2]
| path & fs::path::append |
( |
std::string |
| ) |
|
|
delete |
◆ operator string_type()
| fs::path::operator string_type |
( |
| ) |
const |
|
delete |
◆ operator/=() [1/3]
| path & fs::path::operator/= |
( |
const char * |
c | ) |
|
|
inline |
Definition at line 50 of file fs.h.
◆ operator/=() [2/3]
| path & fs::path::operator/= |
( |
const std::filesystem::path & |
path | ) |
|
|
inline |
Definition at line 45 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 49 of file fs.h.
◆ operator=() [2/3]
| path & fs::path::operator= |
( |
std::filesystem::path |
path | ) |
|
|
inline |
Definition at line 44 of file fs.h.
◆ operator=() [3/3]
| path & fs::path::operator= |
( |
std::string |
| ) |
|
|
delete |
◆ std_path() [1/2]
| std::filesystem::path & fs::path::std_path |
( |
| ) |
|
|
inline |
Definition at line 39 of file fs.h.
◆ std_path() [2/2]
| const std::filesystem::path & fs::path::std_path |
( |
| ) |
const |
|
inline |
Definition at line 40 of file fs.h.
◆ 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 74 of file fs.h.
The documentation for this class was generated from the following file: