Pointer to template types?

Rene Zwanenburg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 28 03:44:16 PDT 2014


On Monday, 28 April 2014 at 10:40:49 UTC, Chris wrote:
> So there is no way of filling an array with something like
>
> Person!(string) *pptr;
>
> foreach(person; people) {
>    buf ~= &person;
> }

Person!(string)*[] arr;

Like this?


More information about the Digitalmars-d-learn mailing list