Accessing members of an array of a class with map.

Ave via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 30 13:13:28 PDT 2016


On Friday, 30 September 2016 at 19:31:55 UTC, Jonathan M Davis 
wrote:
> On Friday, September 30, 2016 19:04:11 Ave via 
> Digitalmars-d-learn wrote:
>> [...]
>
> The first example is segfaulting, because you never gave the 
> variable, test, a value. It's null when you try and access its 
> arrB member.
>
> - Jonathan M Davis

Hah wow. Can't believe I even retyped that whole thing and didn't 
see it.  Thanks.


More information about the Digitalmars-d-learn mailing list