C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Extension to std::tuples to allow runtime indexing.

From: Muneem <itfllow123_at_[hidden]>
Date: Sat, 18 Apr 2026 20:30:14 +0500
The additional information is implementation defined but it could be std
variants if references for all objects in the runtime index tuple, which
that the variant dosent have to be constructed whenever you have to index.
This ofcourse is again an example, but that the new interface would give
flexibility to the implementation to do these wild optimizations that it
can't do for product types.


On Sat, 18 Apr 2026, 8:21 pm Giuseppe D'Angelo via Std-Proposals, <
std-proposals_at_[hidden]> wrote:

> On 18/04/2026 17:17, Muneem via Std-Proposals wrote:
> > Which means it can't have additional infrosmtion other than the objects
> > of types that it holds.
>
> What additional information do you need? Why do you need it? How do you
> plan to use it?
>
> My 2 c,
> --
> Giuseppe D'Angelo
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>

Received on 2026-04-18 15:30:32