On Monday, 28 April 2014 at 10:44:18 UTC, Rene Zwanenburg wrote:
On Monday, 28 April 2014 at 10:40:49 UTC, Chris wrote:So there is no way of filling an array with something likePerson!(string) *pptr; foreach(person; people) { buf ~= &person; }Person!(string)*[] arr; Like this?
Exactly, just tried it, this works. I tried various types of syntax and just couldn't get it right. Thanks a million.