On Sunday, 16 October 2016 at 20:11:01 UTC, Chris Wright wrote:
On Sun, 16 Oct 2016 18:51:06 +0000, Sebastiaan Koppe wrote:
That would mean that tuple then needs to keep the strings around - taking up space.

It doesn't change Tuple.sizeof.

Sure, but it still takes up space in the executable. Negligible of course, but for something that doesn't bring anything to the table, not so.

It's a little bit of runtime reflection, which people sometimes find handy. There's nothing stopping you from writing it manually or with metaprogramming, granted. And if it's just tuples, it doesn't seem like much of an advantage.

Exactly. When you want runtime reflection, would you put it in a tuple?

Reply via email to