I think we also need to export the ::pmr version?

On Wed, Jun 4, 2025 at 10:44 AM Tomasz Kamiński <tkami...@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?
>
>  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
>

Reply via email to