[PATCH] libstdc++: Export std::indirect and std::polymorphic from std module [PR119152]
Jonathan Wakely
jwakely@redhat.com
Wed Jun 4 14:57:27 GMT 2025
On Wed, 4 Jun 2025 at 15:44, Tomasz Kamiński <tkaminsk@redhat.com> wrote:
>
> PR libstdc++/119152
>
> libstdc++-v3/ChangeLog:
>
> * src/c++23/std.cc.in (std::indirect) [__cpp_lib_indirect]
> (std::polymorphic) [__cpp_lib_polymorphic]: Export.
> ---
> OK for trunk?
OK thanks
>
> libstdc++-v3/src/c++23/std.cc.in | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in
> index eddd3c839b0..efa1c9f7cea 100644
> --- a/libstdc++-v3/src/c++23/std.cc.in
> +++ b/libstdc++-v3/src/c++23/std.cc.in
> @@ -1952,6 +1952,12 @@ export namespace std
> using std::out_ptr;
> using std::inout_ptr;
> #endif
> +#if __cpp_lib_indirect
> + using std::indirect;
> +#endif
> +#if __cpp_lib_polymorphic
> + using std::polymorphic;
> +#endif
> }
>
> // 20.4 <memory_resource>
> --
> 2.49.0
>
More information about the Libstdc++
mailing list