member function · 3 overloads
std::basic_ofstream::open
- Draft
- [ofstream.general]
- Scope
std::basic_ofstream- cppreference
- std::basic_ofstream::open
Overloads
- (1)
void open(const string& s, ios_base::openmode mode = ios_base::out); - (2)
void open(const char* s, ios_base::openmode mode = 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::out);