|
54 | 54 |
|
55 | 55 | // clang-format on
|
56 | 56 |
|
57 |
| -#include <__concepts/convertible_to.h> |
58 | 57 | #include <__config>
|
59 |
| -#include <__fwd/spanstream.h> |
60 |
| -#include <__memory/addressof.h> |
61 |
| -#include <__ranges/concepts.h> |
62 |
| -#include <__utility/cmp.h> |
63 |
| -#include <__utility/forward.h> |
64 |
| -#include <__utility/move.h> |
65 |
| -#include <__utility/swap.h> |
66 |
| -#include <ios> |
67 |
| -#include <iostream> |
68 |
| -#include <span> |
69 |
| -#include <streambuf> |
70 |
| -#include <version> |
71 |
| - |
72 |
| -#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
73 |
| -# pragma GCC system_header |
74 |
| -#endif |
| 58 | + |
| 59 | +#if !defined(_LIBCPP_HAS_NO_LOCALIZATION) |
| 60 | + |
| 61 | +# include <__concepts/convertible_to.h> |
| 62 | +# include <__fwd/spanstream.h> |
| 63 | +# include <__memory/addressof.h> |
| 64 | +# include <__ranges/concepts.h> |
| 65 | +# include <__utility/cmp.h> |
| 66 | +# include <__utility/forward.h> |
| 67 | +# include <__utility/move.h> |
| 68 | +# include <__utility/swap.h> |
| 69 | +# include <ios> |
| 70 | +# include <iostream> |
| 71 | +# include <span> |
| 72 | +# include <streambuf> |
| 73 | +# include <version> |
| 74 | + |
| 75 | +# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| 76 | +# pragma GCC system_header |
| 77 | +# endif |
75 | 78 |
|
76 | 79 | _LIBCPP_PUSH_MACROS
|
77 |
| -#include <__undef_macros> |
| 80 | +# include <__undef_macros> |
78 | 81 |
|
79 | 82 | _LIBCPP_BEGIN_NAMESPACE_STD
|
80 | 83 |
|
81 |
| -#if _LIBCPP_STD_VER >= 23 |
| 84 | +# if _LIBCPP_STD_VER >= 23 |
82 | 85 |
|
83 | 86 | // Class template basic_spanbuf [spanbuf]
|
84 | 87 |
|
@@ -240,9 +243,9 @@ _LIBCPP_HIDE_FROM_ABI void swap(basic_spanbuf<_CharT, _Traits>& __x, basic_spanb
|
240 | 243 | }
|
241 | 244 |
|
242 | 245 | using std::spanbuf;
|
243 |
| -# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 246 | +# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
244 | 247 | using std::wspanbuf;
|
245 |
| -# endif |
| 248 | +# endif |
246 | 249 |
|
247 | 250 | // Class template basic_ispanstream [ispanstream]
|
248 | 251 |
|
@@ -318,9 +321,9 @@ _LIBCPP_HIDE_FROM_ABI void swap(basic_ispanstream<_CharT, _Traits>& __x, basic_i
|
318 | 321 | }
|
319 | 322 |
|
320 | 323 | using std::ispanstream;
|
321 |
| -# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 324 | +# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
322 | 325 | using std::wispanstream;
|
323 |
| -# endif |
| 326 | +# endif |
324 | 327 |
|
325 | 328 | // Class template basic_ospanstream [ospanstream]
|
326 | 329 |
|
@@ -381,9 +384,9 @@ _LIBCPP_HIDE_FROM_ABI void swap(basic_ospanstream<_CharT, _Traits>& __x, basic_o
|
381 | 384 | }
|
382 | 385 |
|
383 | 386 | using std::ospanstream;
|
384 |
| -# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 387 | +# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
385 | 388 | using std::wospanstream;
|
386 |
| -# endif |
| 389 | +# endif |
387 | 390 |
|
388 | 391 | template <class _CharT, class _Traits>
|
389 | 392 | class _LIBCPP_TEMPLATE_VIS basic_spanstream : public basic_iostream<_CharT, _Traits> {
|
@@ -442,16 +445,18 @@ _LIBCPP_HIDE_FROM_ABI void swap(basic_spanstream<_CharT, _Traits>& __x, basic_sp
|
442 | 445 | }
|
443 | 446 |
|
444 | 447 | using std::spanstream;
|
445 |
| -# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 448 | +# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
446 | 449 | using std::wspanstream;
|
447 |
| -# endif |
| 450 | +# endif |
448 | 451 |
|
449 |
| -#endif // _LIBCPP_STD_VER >= 23 |
| 452 | +# endif // _LIBCPP_STD_VER >= 23 |
450 | 453 |
|
451 | 454 | _LIBCPP_END_NAMESPACE_STD
|
452 | 455 |
|
453 | 456 | _LIBCPP_POP_MACROS
|
454 | 457 |
|
| 458 | +#endif // !_LIBCPP_HAS_NO_LOCALIZATION |
| 459 | + |
455 | 460 | #if _LIBCPP_STD_VER <= 20 && !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES)
|
456 | 461 | # include <type_traits>
|
457 | 462 | #endif
|
|
0 commit comments