member function · 3 overloads
std::basic_fstream::open
- Draft
- [fstream.general]
- Scope
std::basic_fstream- cppreference
- std::basic_fstream::open
Overloads
- (1)
void open( const string& s, ios_base::openmode mode = ios_base::in | ios_base::out); - (2)
void open( const char* s, ios_base::openmode mode = ios_base::in | ios_base::out); - (3)
template<class T> requires is_same_v<T, filesystem::path> void open( const T& s, ios_base::openmode mode = ios_base::in | ios_base::out);