DConf 2014 Day 1 Talk 2
Justin Whear via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Jun 5 13:55:14 PDT 2014
On Thu, 05 Jun 2014 21:51:14 +0200, Philippe Sigaud via
Digitalmars-d-announce wrote:
> On Tue, Jun 3, 2014 at 10:54 PM, Jonathan Crapuchettes
>> Here is a link to the slides from the presentation.
>>
>> http://slides.com/jonathancrapuchettes/dconf
>
>
> On the 'issues with D' slide, you cite 'Can't get member names from
> Tuples'.
> Do you mean:
>
> alias Entry = Tuple!(int, "index", string, "value");
>
> => getting ["index", "value"]
>
> ?
Yeah, that's what he meant. Using MemberNames and tupleof(..).stringof
give the actual field names which are procedurally generated. The user-
supplied names are simply aliases to the generated fields.
More information about the Digitalmars-d-announce
mailing list