1
//===----------------------------------------------------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
8
//===----------------------------------------------------------------------===//
12
// template <class charT, class traits = char_traits<charT> >
13
// class basic_ifstream
15
// explicit basic_ifstream(const char* s, ios_base::openmode mode = ios_base::in);
23
std::ifstream fs("test.dat");
29
std::ifstream fs("test.dat", std::ios_base::out);
35
std::wifstream fs("test.dat");
41
std::wifstream fs("test.dat", std::ios_base::out);