45 lines · plain
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10export namespace std {11#if _LIBCPP_HAS_LOCALIZATION12 using std::basic_filebuf;13 14# if _LIBCPP_HAS_FILESYSTEM15 using std::swap;16# endif17 18 using std::filebuf;19# if _LIBCPP_HAS_WIDE_CHARACTERS20 using std::wfilebuf;21# endif22 23 using std::basic_ifstream;24 25 using std::ifstream;26# if _LIBCPP_HAS_WIDE_CHARACTERS27 using std::wifstream;28# endif29 30 using std::basic_ofstream;31 32 using std::ofstream;33# if _LIBCPP_HAS_WIDE_CHARACTERS34 using std::wofstream;35# endif36 37 using std::basic_fstream;38 39 using std::fstream;40# if _LIBCPP_HAS_WIDE_CHARACTERS41 using std::wfstream;42# endif43#endif // _LIBCPP_HAS_LOCALIZATION44} // namespace std45