On Fri, 26 Aug 2022 at 21:05, Jonathan Wakely wrote:
>
> On Tue, 23 Aug 2022 at 02:38, Patrick Palka via Libstdc++
> wrote:
> > +template
> > + constexpr void
> > + __tuple_for_each(_Fp&& __f, _Tuple&& __tuple)
> > + {
> > + std::apply([&](_Ts&&... __elts) {
> > +
On Tue, 23 Aug 2022 at 02:38, Patrick Palka via Libstdc++
wrote:
> +template
> + constexpr void
> + __tuple_for_each(_Fp&& __f, _Tuple&& __tuple)
> + {
> + std::apply([&](_Ts&&... __elts) {
> + (std::__invoke(__f, std::forward<_Ts>(__elts)), ...);
> + }, std:
On Tue, 23 Aug 2022 at 02:38, Patrick Palka via Libstdc++
wrote:
>
> Tested on 86_64-pc-linux-gnu, does this look OK for trunk?
As discussed privately, please remove the #include (which is
not needed, and adds declarations to the global namespace that we
don't need).
OK with that change, thanks