From: Tomasz KamiƄski Date: Wed, 4 Jun 2025 14:39:43 +0000 (+0200) Subject: libstdc++: Export std::indirect and std::polymorphic from std module [PR119152] X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a37f996fceef901dd2fbbdd768b1abfa1415754f;p=thirdparty%2Fgcc.git libstdc++: Export std::indirect and std::polymorphic from std module [PR119152] PR libstdc++/119152 libstdc++-v3/ChangeLog: * src/c++23/std.cc.in (std::indirect, pmr::indirect) [__cpp_lib_indirect] (std::polymorphic, pmr::polymorphic) [__cpp_lib_polymorphic]: Export. --- diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in index d9a265e2256..4cd3e52c8bb 100644 --- a/libstdc++-v3/src/c++23/std.cc.in +++ b/libstdc++-v3/src/c++23/std.cc.in @@ -1956,6 +1956,14 @@ export namespace std using std::out_ptr; using std::inout_ptr; #endif +#if __cpp_lib_indirect + using std::indirect; + namespace pmr { using std::pmr::indirect; } +#endif +#if __cpp_lib_polymorphic + using std::polymorphic; + namespace pmr { using std::pmr::polymorphic; } +#endif } // 20.4