C++ Logo

std-proposals

Advanced search

Aggregates are named tuples

From: Antony Polukhin <antoshkka_at_[hidden]>
Date: Sat, 7 Mar 2020 16:48:09 +0300
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.

Received on 2020-03-07 07:52:21