[gcc r15-3090] libstdc++: Implement P2997R1 changes to the indirect invocability concepts

2024-08-22 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:620232426bd83a79c81cd2be6f485834c618e920 commit r15-3090-g620232426bd83a79c81cd2be6f485834c618e920 Author: Patrick Palka Date: Thu Aug 22 09:24:20 2024 -0400 libstdc++: Implement P2997R1 changes to the indirect invocability concepts This implements the change

[gcc r15-3091] libstdc++: Optimize std::projected

2024-08-22 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:51761c50f843d5be4e24172535e4524b5072f24c commit r15-3091-g51761c50f843d5be4e24172535e4524b5072f24c Author: Patrick Palka Date: Thu Aug 22 09:24:39 2024 -0400 libstdc++: Optimize std::projected Algorithms that are generalized to take projections typically defa

[gcc r15-3094] libstdc++: Add some missing ranges feature-test macro tests

2024-08-22 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:8e0da56f18b3678beee9d2bae27e08a0e122573a commit r15-3094-g8e0da56f18b3678beee9d2bae27e08a0e122573a Author: Patrick Palka Date: Thu Aug 22 11:24:07 2024 -0400 libstdc++: Add some missing ranges feature-test macro tests libstdc++-v3/ChangeLog:

[gcc r14-10654] libstdc++: use concrete return type for std::forward_like

2024-09-08 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:140aab25a4865433d987d73c57f4ddf11fdac1e2 commit r14-10654-g140aab25a4865433d987d73c57f4ddf11fdac1e2 Author: Patrick Palka Date: Sat Aug 3 09:05:05 2024 -0400 libstdc++: use concrete return type for std::forward_like Inspired by https://github.com/llvm/llvm-pr

[gcc r15-2117] c++: diagnose failed qualified lookup into current inst

2024-07-17 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:313afcfdabeab3e6705ac0bd1273627075be0023 commit r15-2117-g313afcfdabeab3e6705ac0bd1273627075be0023 Author: Patrick Palka Date: Wed Jul 17 20:54:14 2024 -0400 c++: diagnose failed qualified lookup into current inst When the scope of a qualified name is the cur

[gcc r14-9756] libstdc++: Allow adjacent __maybe_present_t fields to overlap

2024-04-02 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:0e64bbb8823f7b3757befc878ed177dfb59943d1 commit r14-9756-g0e64bbb8823f7b3757befc878ed177dfb59943d1 Author: Patrick Palka Date: Tue Apr 2 13:07:07 2024 -0400 libstdc++: Allow adjacent __maybe_present_t fields to overlap Currently __maybe_present_t maps to the

[gcc r15-2314] libstdc++: fix uses of explicit object parameter [PR116038]

2024-07-25 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:1066a95aa33eee2d2bd9c8324f34dedb967f338c commit r15-2314-g1066a95aa33eee2d2bd9c8324f34dedb967f338c Author: Patrick Palka Date: Thu Jul 25 09:02:13 2024 -0400 libstdc++: fix uses of explicit object parameter [PR116038] The type of an implicit object parameter

[gcc r14-10546] libstdc++: fix uses of explicit object parameter [PR116038]

2024-08-01 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:59e3934346f4546d7ef4fc82d300644b52bcefb0 commit r14-10546-g59e3934346f4546d7ef4fc82d300644b52bcefb0 Author: Patrick Palka Date: Thu Jul 25 09:02:13 2024 -0400 libstdc++: fix uses of explicit object parameter [PR116038] The type of an implicit object parameter

[gcc r15-2707] libstdc++: use concrete return type for std::forward_like

2024-08-03 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:8256d5c0097dff00f9bdf9ee0c9d53bd7cec2802 commit r15-2707-g8256d5c0097dff00f9bdf9ee0c9d53bd7cec2802 Author: Patrick Palka Date: Sat Aug 3 09:05:05 2024 -0400 libstdc++: use concrete return type for std::forward_like Inspired by https://github.com/llvm/llvm-pro

[gcc r15-809] libstdc++: Implement ranges::concat_view from P2542R7

2024-05-23 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:66d2a76dcf625f8dbe43d3c512e9c43f588fdc25 commit r15-809-g66d2a76dcf625f8dbe43d3c512e9c43f588fdc25 Author: Patrick Palka Date: Thu May 23 18:03:56 2024 -0400 libstdc++: Implement ranges::concat_view from P2542R7 libstdc++-v3/ChangeLog: * inclu

[gcc r15-4070] libstdc++/ranges: Implement various small LWG issues

2024-10-04 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:20165d0107abd0f839f2519818b904f029f4ae55 commit r15-4070-g20165d0107abd0f839f2519818b904f029f4ae55 Author: Patrick Palka Date: Fri Oct 4 10:01:39 2024 -0400 libstdc++/ranges: Implement various small LWG issues This implements the following small LWG issues:

[gcc r15-4087] libstdc++: add std::is_virtual_base_of

2024-10-05 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:9fc5b8f956948e069d9b69ceed7316940bc798e2 commit r15-4087-g9fc5b8f956948e069d9b69ceed7316940bc798e2 Author: Giuseppe D'Angelo Date: Mon Jul 29 19:23:54 2024 +0200 libstdc++: add std::is_virtual_base_of Added by P2985R0 for C++26. This simply exposes the compil

[gcc r14-10819] libstdc++/ranges: Implement various small LWG issues

2024-10-21 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:07ee6874963d2f8a787ba48341a5392ee8b6ba56 commit r14-10819-g07ee6874963d2f8a787ba48341a5392ee8b6ba56 Author: Patrick Palka Date: Fri Oct 4 10:01:39 2024 -0400 libstdc++/ranges: Implement various small LWG issues This implements the following small LWG issues:

[gcc r14-10816] libstdc++: Implement P2609R3 changes to the indirect invocability concepts

2024-10-21 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:3795ac860bc6f24d0ef222045dff7b2a6350a8c4 commit r14-10816-g3795ac860bc6f24d0ef222045dff7b2a6350a8c4 Author: Patrick Palka Date: Thu Aug 22 09:24:11 2024 -0400 libstdc++: Implement P2609R3 changes to the indirect invocability concepts This implements the chang

[gcc r14-10818] libstdc++: Add some missing ranges feature-test macro tests

2024-10-21 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:be56fee60a62014709605af19a84a48b7aa0835a commit r14-10818-gbe56fee60a62014709605af19a84a48b7aa0835a Author: Patrick Palka Date: Thu Aug 22 11:25:10 2024 -0400 libstdc++: Add some missing ranges feature-test macro tests libstdc++-v3/ChangeLog:

[gcc r15-4086] libstdc++: Implement LWG 3664 changes to ranges::distance

2024-10-05 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7 commit r15-4086-g7c0d1e9f2a2f1d41d9eb755c36c871d92638c4b7 Author: Patrick Palka Date: Sat Oct 5 13:48:06 2024 -0400 libstdc++: Implement LWG 3664 changes to ranges::distance libstdc++-v3/ChangeLog: * i

[gcc r15-4555] libstdc++: Implement LWG 4166 changes to concat_view::end()

2024-10-22 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:f191c8301545658543773ba3d0e6f3f0927529e0 commit r15-4555-gf191c8301545658543773ba3d0e6f3f0927529e0 Author: Patrick Palka Date: Tue Oct 22 17:01:59 2024 -0400 libstdc++: Implement LWG 4166 changes to concat_view::end() This patch proactively implements the pro

[gcc r15-4740] libstdc++: Fix complexity of drop_view::begin() const [PR112641]

2024-10-29 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:7f622ee83fbbcf4a4ca70e020db8a0ce4b556b61 commit r15-4740-g7f622ee83fbbcf4a4ca70e020db8a0ce4b556b61 Author: Patrick Palka Date: Tue Oct 29 09:26:19 2024 -0400 libstdc++: Fix complexity of drop_view::begin() const [PR112641] Views are required to have a amortiz

[gcc r15-5729] libstdc++/ranges: make _RangeAdaptorClosure befriend operator|

2024-11-27 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:56029c91dcadcfd1800614b7484d3dc82ca16dde commit r15-5729-g56029c91dcadcfd1800614b7484d3dc82ca16dde Author: Patrick Palka Date: Wed Nov 27 11:59:38 2024 -0500 libstdc++/ranges: make _RangeAdaptorClosure befriend operator| This declares the range adaptor pipe o

[gcc r15-5290] libstdc++: Implement LWG 3563 changes to keys_view and values_view

2024-11-14 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:361050589b144913ec05d9d8e10639afa98319a8 commit r15-5290-g361050589b144913ec05d9d8e10639afa98319a8 Author: Patrick Palka Date: Thu Nov 14 13:27:41 2024 -0500 libstdc++: Implement LWG 3563 changes to keys_view and values_view This LWG issue corrects the defini

[gcc r14-11259] libstdc++: Fix views::transform(move_only_fn{}) forwarding [PR118413]

2025-01-29 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:f0420cc224db64efe87cbe2f45d4d7ba8deb9eb0 commit r14-11259-gf0420cc224db64efe87cbe2f45d4d7ba8deb9eb0 Author: Patrick Palka Date: Wed Jan 29 10:02:28 2025 -0500 libstdc++: Fix views::transform(move_only_fn{}) forwarding [PR118413] The range adaptor perfect forw

[gcc r15-7310] libstdc++: Fix flat_foo::insert_range for non-common ranges [PR118156]

2025-01-31 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:a9172b107a24b244e0b71c2575dd6448d48b3ae3 commit r15-7310-ga9172b107a24b244e0b71c2575dd6448d48b3ae3 Author: Patrick Palka Date: Fri Jan 31 15:53:12 2025 -0500 libstdc++: Fix flat_foo::insert_range for non-common ranges [PR118156] This fixes flat_map/multimap::

[gcc r15-7309] libstdc++: Fix return value of vector::insert_range

2025-01-31 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:ee797739606ce9b8cf6ebb0236977861e49aa0d1 commit r15-7309-gee797739606ce9b8cf6ebb0236977861e49aa0d1 Author: Patrick Palka Date: Fri Jan 31 15:53:10 2025 -0500 libstdc++: Fix return value of vector::insert_range In some cases we're wrongly returning an iterator

[gcc r15-6370] libstdc++: Define P1206R7 range-key-type and range-mapped-type aliases

2024-12-19 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:fb1f1c763055abea556959b42a2f1d5e548c1452 commit r15-6370-gfb1f1c763055abea556959b42a2f1d5e548c1452 Author: Patrick Palka Date: Thu Dec 19 11:31:06 2024 -0500 libstdc++: Define P1206R7 range-key-type and range-mapped-type aliases libstdc++-v3/ChangeLog:

[gcc r15-6371] libstdc++: Implement C++23 (P0429R9)

2024-12-19 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:92381894b36b39030e6a264d3da2204b20f08d6c commit r15-6371-g92381894b36b39030e6a264d3da2204b20f08d6c Author: Patrick Palka Date: Thu Dec 19 11:31:09 2024 -0500 libstdc++: Implement C++23 (P0429R9) This implements the C++23 container adaptors std::flat_map and

[gcc r15-6372] libstdc++: Implement C++23 (P1222R4)

2024-12-19 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:e3fab34506430e78d286d4aaf66c0dec9a28c187 commit r15-6372-ge3fab34506430e78d286d4aaf66c0dec9a28c187 Author: Patrick Palka Date: Thu Dec 19 11:31:19 2024 -0500 libstdc++: Implement C++23 (P1222R4) This implements the C++23 container adaptors std::flat_set and

[gcc r14-11174] libstdc++: Avoid unnecessary copies in ranges::min/max [PR112349]

2025-01-09 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:f236c897af48c3ae52095a894d57e66065b8ad87 commit r14-11174-gf236c897af48c3ae52095a894d57e66065b8ad87 Author: Patrick Palka Date: Fri Dec 13 13:17:29 2024 -0500 libstdc++: Avoid unnecessary copies in ranges::min/max [PR112349] Use a local reference for the (now

[gcc r15-7066] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-20 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:b342614139c0a981b369176980663941b9c27f39 commit r15-7066-gb342614139c0a981b369176980663941b9c27f39 Author: Giuseppe D'Angelo Date: Sun Jan 19 16:30:20 2025 +0100 libstdc++: perfectly forward std::ranges::clamp arguments As reported in PR118185, std::ranges::c

[gcc r14-11251] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-27 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:d121d1e1dd874731a648086772e6c40e34fa5de9 commit r14-11251-gd121d1e1dd874731a648086772e6c40e34fa5de9 Author: Giuseppe D'Angelo Date: Sun Jan 19 16:30:20 2025 +0100 libstdc++: perfectly forward std::ranges::clamp arguments As reported in PR118185, std::ranges::

[gcc r15-7632] libstdc++: Sync concat_view with final P2542 revision [PR115209]

2025-02-19 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:8543dc52d84662e3fc0b8b6ac5e98ce13ebe9ad9 commit r15-7632-g8543dc52d84662e3fc0b8b6ac5e98ce13ebe9ad9 Author: Patrick Palka Date: Wed Feb 19 22:59:49 2025 -0500 libstdc++: Sync concat_view with final P2542 revision [PR115209] Our concat_view implementation is ac

[gcc r15-7698] libstdc++: Implement LWG 4027 change to possibly-const-range [PR118083]

2025-02-25 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:1b9e4fe2ff5f4711406cdcf0e6e183b247d9f42b commit r15-7698-g1b9e4fe2ff5f4711406cdcf0e6e183b247d9f42b Author: Patrick Palka Date: Tue Feb 25 13:35:04 2025 -0500 libstdc++: Implement LWG 4027 change to possibly-const-range [PR118083] LWG 4027 effectively makes th

[gcc r15-7757] libstdc++: Fix constraint recursion in basic_const_iterator relops [PR112490]

2025-02-28 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:4342c50ca84ae5448c0128c52120f4fe9005f203 commit r15-7757-g4342c50ca84ae5448c0128c52120f4fe9005f203 Author: Patrick Palka Date: Fri Feb 28 09:39:57 2025 -0500 libstdc++: Fix constraint recursion in basic_const_iterator relops [PR112490] Here for us

[gcc r15-7840] libstdc++: Implement P3138R5 views::cache_latest

2025-03-05 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:410a4c126407c0ce048ad848d09cf4d39f578756 commit r15-7840-g410a4c126407c0ce048ad848d09cf4d39f578756 Author: Patrick Palka Date: Wed Mar 5 16:46:15 2025 -0500 libstdc++: Implement P3138R5 views::cache_latest libstdc++-v3/ChangeLog: * include/bi

[gcc r14-11446] libstdc++: Fix ref_view branch of views::as_const [PR119135]

2025-04-05 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:925a744efec5a630eb9bf49e755c554a884fda99 commit r14-11446-g925a744efec5a630eb9bf49e755c554a884fda99 Author: Patrick Palka Date: Thu Mar 13 09:15:21 2025 -0400 libstdc++: Fix ref_view branch of views::as_const [PR119135] Unlike for span and empty_view, the ran

[gcc r14-11536] libstdc++: Work around C++20 tuple> constraint recursion [PR116440]

2025-04-07 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:5cdf31f08074d5ed8d07e93390de573938ad1eb3 commit r14-11536-g5cdf31f08074d5ed8d07e93390de573938ad1eb3 Author: Patrick Palka Date: Thu Mar 13 19:55:00 2025 -0400 libstdc++: Work around C++20 tuple> constraint recursion [PR116440] The type tuple> is clearly copy

[gcc r14-11578] libstdc++: Fix constraint recursion in basic_const_iterator operator- [PR115046]

2025-04-09 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:630bca9fa83236e108e9421549bdd5058133c3dd commit r14-11578-g630bca9fa83236e108e9421549bdd5058133c3dd Author: Patrick Palka Date: Wed Apr 9 17:48:05 2025 -0400 libstdc++: Fix constraint recursion in basic_const_iterator operator- [PR115046] It was proposed in

[gcc r15-9351] libstdc++: Fix constraint recursion in basic_const_iterator operator- [PR115046]

2025-04-09 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:d69f73c0334486f3c66937388f02008736809e87 commit r15-9351-gd69f73c0334486f3c66937388f02008736809e87 Author: Patrick Palka Date: Wed Apr 9 17:48:05 2025 -0400 libstdc++: Fix constraint recursion in basic_const_iterator operator- [PR115046] It was proposed in P

[gcc r15-9211] libstdc++: Avoid redundant value_type object in flat_set::emplace [PR119620]

2025-04-04 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:2a36d22ab52d6ffce9a1fcaf7aca83336679e111 commit r15-9211-g2a36d22ab52d6ffce9a1fcaf7aca83336679e111 Author: Patrick Palka Date: Fri Apr 4 15:05:09 2025 -0400 libstdc++: Avoid redundant value_type object in flat_set::emplace [PR119620] flat_set::emplace (and fl

[gcc r15-9572] Revert "libstdc++: Optimize std::projected" [PR119888]

2025-04-22 Thread Patrick Palka via Libstdc++-cvs
https://gcc.gnu.org/g:63bda370eddf091c456cea3df82e0e5aa9a1fa97 commit r15-9572-g63bda370eddf091c456cea3df82e0e5aa9a1fa97 Author: Patrick Palka Date: Tue Apr 22 12:55:05 2025 -0400 Revert "libstdc++: Optimize std::projected" [PR119888] This non-standard optimization breaks real-wor