Hi!

is_{reflection,consteval_only}{,_v} were added in P120775 r16-6808
but not exported from std module.

Tested on x86_64-linux, ok for trunk?

Note, perhaps we'll remove is_consteval_only* again in a week or two,
who knows what is approved in Croydon.

2026-03-19  Jakub Jelinek  <[email protected]>

        PR c++/120775
        * src/c++23/std.cc.in: Add is_reflection{,_v} and
        is_consteval_only{,_v}.

--- libstdc++-v3/src/c++23/std.cc.in.jj 2026-03-19 14:41:32.584711108 +0100
+++ libstdc++-v3/src/c++23/std.cc.in    2026-03-19 14:47:04.295033836 +0100
@@ -3555,6 +3555,14 @@ export namespace std
   using std::is_implicit_lifetime;
   using std::is_implicit_lifetime_v;
 #endif
+#if __cpp_impl_reflection >= 202506L
+  using std::is_reflection;
+  using std::is_reflection_v;
+#if _GLIBCXX_USE_BUILTIN_TRAIT(__builtin_is_consteval_only)
+  using std::is_consteval_only;
+  using std::is_consteval_only_v;
+#endif
+#endif
 }
 
 // <typeindex>

        Jakub

Reply via email to