]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Add missing export for std::is_layout_compatible_v [PR120159]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 May 2025 16:06:11 +0000 (17:06 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 May 2025 16:08:15 +0000 (17:08 +0100)
libstdc++-v3/ChangeLog:

PR libstdc++/120159
* src/c++23/std.cc.in (is_layout_compatible_v): Export.

(cherry picked from commit 8a1f3615c01cdbf5b2d37448c8bb09a96d5e3330)

libstdc++-v3/src/c++23/std.cc.in

index 930a489ff44b24637b4f1fe21e2cf58e20dc5424..de34e649bba968b8c8cf70b98608a9f5a4944eff 100644 (file)
@@ -3107,6 +3107,7 @@ export namespace std
 #if __cpp_lib_is_layout_compatible
   using std::is_corresponding_member;
   using std::is_layout_compatible;
+  using std::is_layout_compatible_v;
 #endif
 #if __cpp_lib_is_pointer_interconvertible
   using std::is_pointer_interconvertible_base_of;