Re: [PATCH 2/1] libstdc++: Non-triv-copyable extra args aren't simple [PR100940]

2021-06-16 Thread Jonathan Wakely via Gcc-patches
On Tue, 15 Jun 2021 at 20:29, Patrick Palka via Libstdc++ wrote: > > On Tue, 15 Jun 2021, Patrick Palka wrote: > > > This force-enables perfect forwarding call wrapper semantics whenever > > the extra arguments of a partially applied range adaptor aren't all > > trivially copyable, so as to avoid

Re: [PATCH 2/1] libstdc++: Non-triv-copyable extra args aren't simple [PR100940]

2021-06-15 Thread Patrick Palka via Gcc-patches
On Tue, 15 Jun 2021, Patrick Palka wrote: > This force-enables perfect forwarding call wrapper semantics whenever > the extra arguments of a partially applied range adaptor aren't all > trivially copyable, so as to avoid incurring unnecessary copies of > potentially expensive-to-copy objects

[PATCH 2/1] libstdc++: Non-triv-copyable extra args aren't simple [PR100940]

2021-06-15 Thread Patrick Palka via Gcc-patches
This force-enables perfect forwarding call wrapper semantics whenever the extra arguments of a partially applied range adaptor aren't all trivially copyable, so as to avoid incurring unnecessary copies of potentially expensive-to-copy objects (such as std::function objects) when invoking the