Topic: Aggregates as tuple-like? (was: [tuple] extracting


Author: Matthew Woehlke <mwoehlke.floss@gmail.com>
Date: Wed, 17 Feb 2016 12:13:37 -0500
Raw View
On 2016-02-16 20:42, Arthur O'Dwyer wrote:
> The idea that a POD struct should be tuple-like was never part of
> this discussion before, and I don't see how it'd be possible without a lo=
t
> of unproposed language support for introspection/reflection,

Have you *read* P0197=C2=B9?

(=C2=B9
https://github.com/viboes/std-make/blob/master/doc/proposal/reflection/P019=
7R0.md
- the papers in the Feb 2016 mailing don't seem to be avaliable yet.)

> *and* personally I currently think it would be a bad idea.

Why?

> [...] assuming that index_sequence is tuple-like:

I would certainly *hope* it is! :-)

> (Thanks, Nicol, for that neat trick =E2=80=94 I wouldn't have thought of =
it myself!)

Likewise on both counts!

--=20
Matthew

--=20

---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at https://groups.google.com/a/isocpp.org/group/std-propos=
als/.

.