GDC and DMD incompatability, can both be used?
Adam D. Ruppe
destructionator at gmail.com
Sat Jul 11 15:02:41 UTC 2020
On Saturday, 11 July 2020 at 04:28:32 UTC, cy wrote:
> 125 | static foreach (string member;
> FieldNameTuple!T) {
The word "static" there can probably be removed and have it work
exactly the same way. Worth a try.
> Does gdc not support static foreach at all?
only the newest gdc does, version 10. version 9, in most package
managers, doesn't include it.
but if it is inside a function, normal foreach does the same
thing anyway.
More information about the Digitalmars-d-learn
mailing list