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-exception 7// 8//===----------------------------------------------------------------------===// 9 10module; 11#include <__config> 12#ifndef _LIBCPP_HAS_NO_LOCALIZATION 13# include <sstream> 14#endif 15 16export module std:sstream; 17#ifndef _LIBCPP_HAS_NO_LOCALIZATION 18export namespace std { 19 using std::basic_stringbuf; 20 21 using std::swap; 22 23 using std::stringbuf; 24# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 25 using std::wstringbuf; 26# endif 27 28 using std::basic_istringstream; 29 30 using std::istringstream; 31# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 32 using std::wistringstream; 33# endif 34 35 using std::basic_ostringstream; 36 37 using std::ostringstream; 38# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 39 using std::wostringstream; 40# endif 41 42 using std::basic_stringstream; 43 44 using std::stringstream; 45# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS 46 using std::wstringstream; 47# endif 48} // namespace std 49#endif // _LIBCPP_HAS_NO_LOCALIZATION 50