blob: 1dacb6386f662cf45ec1924e76bd874838a57e5a [file] [log] [blame]
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
module;
#include <__config>
#ifndef _LIBCPP_HAS_NO_LOCALIZATION
# include <sstream>
#endif
export module std:sstream;
#ifndef _LIBCPP_HAS_NO_LOCALIZATION
export namespace std {
using std::basic_stringbuf;
using std::swap;
using std::stringbuf;
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wstringbuf;
# endif
using std::basic_istringstream;
using std::istringstream;
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wistringstream;
# endif
using std::basic_ostringstream;
using std::ostringstream;
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wostringstream;
# endif
using std::basic_stringstream;
using std::stringstream;
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
using std::wstringstream;
# endif
} // namespace std
#endif // _LIBCPP_HAS_NO_LOCALIZATION