C++ Logo

STD-PROPOSALS

Advanced search

Subject: [std-proposals] Aggregates are named tuples
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2020-03-07 07:48:09


Hello,

There's a an idea to make
std::get, std::tuple_element and std::tuple_size work with aggregates that
have no base classes. In that way we get effective std::tuple replacement
with elements also accessible via a readable name.

Deatails are described here:
https://apolukhin.github.io/papers/Aggregates%20are%20named%20tuples.html

Any comments and suggestions are wellcome.



STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups