Skip to content

Commit 8f71d25

Browse files
committed
Generated FTM
1 parent 158fba7 commit 8f71d25

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

libcxx/docs/FeatureTestMacroTable.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Status
440440
--------------------------------------------------- -----------------
441441
``__cpp_lib_span_initializer_list`` ``202311L``
442442
--------------------------------------------------- -----------------
443-
``__cpp_lib_sstream_from_string_view`` *unimplemented*
443+
``__cpp_lib_sstream_from_string_view`` ``202306L``
444444
--------------------------------------------------- -----------------
445445
``__cpp_lib_submdspan`` *unimplemented*
446446
--------------------------------------------------- -----------------

libcxx/include/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ __cpp_lib_within_lifetime 202306L <type_traits>
508508
// # define __cpp_lib_smart_ptr_owner_equality 202306L
509509
# define __cpp_lib_span_at 202311L
510510
# define __cpp_lib_span_initializer_list 202311L
511-
// # define __cpp_lib_sstream_from_string_view 202306L
511+
# define __cpp_lib_sstream_from_string_view 202306L
512512
// # define __cpp_lib_submdspan 202306L
513513
// # define __cpp_lib_text_encoding 202306L
514514
# undef __cpp_lib_to_chars

libcxx/test/std/language.support/support.limits/support.limits.general/sstream.version.compile.pass.cpp

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,11 @@
5656

5757
#elif TEST_STD_VER > 23
5858

59-
# if !defined(_LIBCPP_VERSION)
60-
# ifndef __cpp_lib_sstream_from_string_view
61-
# error "__cpp_lib_sstream_from_string_view should be defined in c++26"
62-
# endif
63-
# if __cpp_lib_sstream_from_string_view != 202306L
64-
# error "__cpp_lib_sstream_from_string_view should have the value 202306L in c++26"
65-
# endif
66-
# else // _LIBCPP_VERSION
67-
# ifdef __cpp_lib_sstream_from_string_view
68-
# error "__cpp_lib_sstream_from_string_view should not be defined because it is unimplemented in libc++!"
69-
# endif
59+
# ifndef __cpp_lib_sstream_from_string_view
60+
# error "__cpp_lib_sstream_from_string_view should be defined in c++26"
61+
# endif
62+
# if __cpp_lib_sstream_from_string_view != 202306L
63+
# error "__cpp_lib_sstream_from_string_view should have the value 202306L in c++26"
7064
# endif
7165

7266
#endif // TEST_STD_VER > 23

libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7315,17 +7315,11 @@
73157315
# error "__cpp_lib_ssize should have the value 201902L in c++26"
73167316
# endif
73177317

7318-
# if !defined(_LIBCPP_VERSION)
7319-
# ifndef __cpp_lib_sstream_from_string_view
7320-
# error "__cpp_lib_sstream_from_string_view should be defined in c++26"
7321-
# endif
7322-
# if __cpp_lib_sstream_from_string_view != 202306L
7323-
# error "__cpp_lib_sstream_from_string_view should have the value 202306L in c++26"
7324-
# endif
7325-
# else // _LIBCPP_VERSION
7326-
# ifdef __cpp_lib_sstream_from_string_view
7327-
# error "__cpp_lib_sstream_from_string_view should not be defined because it is unimplemented in libc++!"
7328-
# endif
7318+
# ifndef __cpp_lib_sstream_from_string_view
7319+
# error "__cpp_lib_sstream_from_string_view should be defined in c++26"
7320+
# endif
7321+
# if __cpp_lib_sstream_from_string_view != 202306L
7322+
# error "__cpp_lib_sstream_from_string_view should have the value 202306L in c++26"
73297323
# endif
73307324

73317325
# if !defined(_LIBCPP_VERSION)

0 commit comments

Comments
 (0)