File tree Expand file tree Collapse file tree 3 files changed +32
-16
lines changed Expand file tree Collapse file tree 3 files changed +32
-16
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ endif()
64
64
if (LIBCXX_ENABLE_LOCALIZATION )
65
65
list (APPEND LIBCXX_SOURCES
66
66
ios.cpp
67
+ ios.instantiations.cpp
67
68
iostream.cpp
68
69
locale.cpp
69
70
regex .cpp
Original file line number Diff line number Diff line change 15
15
#include " __locale"
16
16
#include " algorithm"
17
17
#include " include/config_elast.h"
18
- #include " istream"
19
18
#include " limits"
20
19
#include " memory"
21
20
#include " new"
22
- #include " streambuf"
23
21
#include " string"
24
22
#include " __undef_macros"
25
23
26
24
_LIBCPP_BEGIN_NAMESPACE_STD
27
25
28
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<char >;
29
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<wchar_t >;
30
-
31
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<char >;
32
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<wchar_t >;
33
-
34
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<char >;
35
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<wchar_t >;
36
-
37
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<char >;
38
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<wchar_t >;
39
-
40
- template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_iostream<char >;
41
-
42
26
class _LIBCPP_HIDDEN __iostream_category
43
27
: public __do_message
44
28
{
Original file line number Diff line number Diff line change
1
+ // ===----------------------------------------------------------------------===//
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
+
9
+ #include " __config"
10
+ #include " ios"
11
+ #include " istream"
12
+ #include " ostream"
13
+ #include " streambuf"
14
+
15
+
16
+ _LIBCPP_BEGIN_NAMESPACE_STD
17
+
18
+ // Original explicit instantiations provided in the library
19
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<char >;
20
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ios<wchar_t >;
21
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<char >;
22
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_streambuf<wchar_t >;
23
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<char >;
24
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_istream<wchar_t >;
25
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<char >;
26
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_ostream<wchar_t >;
27
+ template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_iostream<char >;
28
+
29
+ // Add more here if needed...
30
+
31
+ _LIBCPP_END_NAMESPACE_STD
You can’t perform that action at this time.
0 commit comments