libstdc++: Guard uses of is_pointer_interconvertible_v [PR114891]
commit1fbe1a50d86df11f434351cf62461a32747f9710
authorJonathan Wakely <jwakely@redhat.com>
Tue, 30 Apr 2024 08:48:00 +0000 (30 09:48 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 1 May 2024 16:24:01 +0000 (1 17:24 +0100)
treee1a50bf429ffd734435bc7e6162326468070fdb9
parentc3bc2787b8beb7aae67fdf2a7f7271a9a4edca7c
libstdc++: Guard uses of is_pointer_interconvertible_v [PR114891]

This type trait isn't supported by Clang 18. It's only used in static
assertions, so they can just be omitted if the trait isn't available.

libstdc++-v3/ChangeLog:

PR libstdc++/114891
* include/std/generator: Check feature test macro before using
is_pointer_interconvertible_v.
libstdc++-v3/include/std/generator