blob: 2ff7057fa66a4e130b35a7a6a69089b2dfb73c8f [file] [log] [blame]
Louis Dionne5a5e9972020-11-02 10:30:29 -05001//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
Arthur O'Dwyercf9bf392022-02-11 13:00:39 -05009#include <__config>
10#include <fstream>
11#include <ios>
12#include <istream>
13#include <ostream>
14#include <sstream>
15#include <streambuf>
Louis Dionne5a5e9972020-11-02 10:30:29 -050016
17_LIBCPP_BEGIN_NAMESPACE_STD
18
19// Original explicit instantiations provided in the library
20template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<char>;
Louis Dionne5a5e9972020-11-02 10:30:29 -050021template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<char>;
Louis Dionne5a5e9972020-11-02 10:30:29 -050022template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<char>;
Louis Dionne5a5e9972020-11-02 10:30:29 -050023template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<char>;
Louis Dionne5a5e9972020-11-02 10:30:29 -050024template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_iostream<char>;
25
Louis Dionne89258142021-08-23 15:32:36 -040026#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
27template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<wchar_t>;
28template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<wchar_t>;
29template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<wchar_t>;
30template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<wchar_t>;
31#endif
32
Louis Dionne8a79be62020-10-21 11:11:45 -040033// Additional instantiations added later. Whether programs rely on these being
34// available is protected by _LIBCPP_ABI_ENABLE_ADDITIONAL_IOSTREAM_EXPLICIT_INSTANTIATIONS_1.
35template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_stringbuf<char>;
36template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_stringstream<char>;
37template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostringstream<char>;
38template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istringstream<char>;
39template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ifstream<char>;
40template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ofstream<char>;
41template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_filebuf<char>;
42
Louis Dionne5a5e9972020-11-02 10:30:29 -050043// Add more here if needed...
44
45_LIBCPP_END_NAMESPACE_STD