Date: Tue, 21 Apr 2026 07:05:19 +0000
This is how this paper should have died.
Why?
In no circumstances have I ever found myself with:
"I have a random index, I want to use it to index into a thing that has a bunch of different types of data, to do..." what specific thing exactly?
Like seriously. What is the point of this?
________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Muneem via Std-Proposals <std-proposals_at_[hidden]>
Sent: Friday, April 17, 2026 4:26:29 AM
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Cc: Muneem <itfllow123_at_[hidden]>
Subject: [std-proposals] Extension to std::tuples to allow runtime indexing.
Abstract: This proposal provides a specialization of std::tuple that can be indexed at runtime. It also introduces specializations for std::variant and std::optional to ensure the interface of such a tuple remains efficient.
I wrote 3 files, the first was a complete draft that I am gonna paste as a txt file, the second was a formatted docx file that I wanted to float around the internet to get some feedback before I post it over here (sadly no on was interested in the poor man's document), and the third is the shortened version where I removed all the code and kept it conceptual. Sorry for pasting three files at once, but I just wanted to see which one is acceptable and which one isn't. Personally, I like the first two.
Why?
In no circumstances have I ever found myself with:
"I have a random index, I want to use it to index into a thing that has a bunch of different types of data, to do..." what specific thing exactly?
Like seriously. What is the point of this?
________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Muneem via Std-Proposals <std-proposals_at_[hidden]>
Sent: Friday, April 17, 2026 4:26:29 AM
To: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Cc: Muneem <itfllow123_at_[hidden]>
Subject: [std-proposals] Extension to std::tuples to allow runtime indexing.
Abstract: This proposal provides a specialization of std::tuple that can be indexed at runtime. It also introduces specializations for std::variant and std::optional to ensure the interface of such a tuple remains efficient.
I wrote 3 files, the first was a complete draft that I am gonna paste as a txt file, the second was a formatted docx file that I wanted to float around the internet to get some feedback before I post it over here (sadly no on was interested in the poor man's document), and the third is the shortened version where I removed all the code and kept it conceptual. Sorry for pasting three files at once, but I just wanted to see which one is acceptable and which one isn't. Personally, I like the first two.
Received on 2026-04-21 07:05:25
