Re: Release D 2.073.0

2017-01-30 Thread Nestor via Digitalmars-d-announce
Just a quick unrelated words: Shouldn't copyright be updated too? D:\>dmd --version DMD32 D Compiler v2.073.0 Copyright (c) 1999-2016 by Digital Mars written by Walter Bright

Re: columnar struct storage template

2017-01-29 Thread Nestor via Digitalmars-d-announce
On Sunday, 29 January 2017 at 14:16:37 UTC, ezneh wrote: Here : foreach(uint u; FooCol.j) writef("%s ", u); writef(\n); I see, but apparently this isn't the only issue. I replaced the whole unittest with this, and it still doesn't compile: import std.stdio; void main() { struct

Re: columnar struct storage template

2017-01-29 Thread Nestor via Digitalmars-d-announce
On Sunday, 29 January 2017 at 13:45:12 UTC, Adam D. Ruppe wrote: On Sunday, 29 January 2017 at 13:09:18 UTC, Nestor wrote: This no longer compiles on recent versions of DMD :( Trivial fix though, it just needs to say "\n" instead of plain \n (it is missing quotes, D used to allow that for

Re: columnar struct storage template

2017-01-29 Thread Nestor via Digitalmars-d-announce
On Saturday, 13 December 2008 at 21:13:52 UTC, BCS wrote: If you have an array of structs that is primarily accessed by columns (the same member in each item) rather than by rows (all members in a given item) it can be faster to store the members each in there own array. The Columns template