16 this->
open(filepath, mode);
21 this->
open(filepath, mode);
27 const char *filepath_cstr = filepath.
c_str();
29 std::wstring filepath_wstr(filepath_cstr_16);
30 std::fstream::open(filepath_wstr.c_str(), mode);
33 std::fstream::open(filepath, mode);
File and directory operations.
constexpr const char * c_str() const
void open(StringRefNull filepath, ios_base::openmode mode=ios_base::in|ios_base::out)
#define UTF16_ENCODE(in8str)
#define UTF16_UN_ENCODE(in8str)