]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Ensure <bits/ranges_util.h> defines __pair_like
authorJonathan Wakely <jwakely@redhat.com>
Thu, 6 Mar 2025 11:20:23 +0000 (11:20 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 6 Mar 2025 16:14:59 +0000 (16:14 +0000)
commit88a521cc3283ae6b6bccc7afefe4723399ddb975
treed3fbfa20589da7dfbcfcf8fa9b9026429bdba975
parent21c96f68f760ca303bb462134386ae201add4b44
libstdc++: Ensure <bits/ranges_util.h> defines __pair_like

We need to include <bits/stl_pair.h> in C++23 and later, so that
__pair_like_convertible_from can use __pair_like, and so that
__is_tuple_like_v is declared before we define a partial specialization.

libstdc++-v3/ChangeLog:

* include/bits/ranges_util.h: Include <bits/stl_pair.h>.

Reviewed-by: Patrick Palka <ppalka@redhat.com>
libstdc++-v3/include/bits/ranges_util.h