Next steps of approved DIPs

2019-02-20 Thread Peter Particle via Digitalmars-d-learn
In particular I am interested in DIP 1014 but this question can be applied to any approved DIP. Where do I get information about e.g. implementer, implementation state/progress, which DMD version is expected to include it (apparently not 2.0.85), etc.?

Re: How to get the name of member function through an alias of that function

2018-12-12 Thread Peter Particle via Digitalmars-d-learn
On Wednesday, 12 December 2018 at 08:36:00 UTC, Simen Kjærås wrote: On Wednesday, 12 December 2018 at 08:16:03 UTC, Peter Particle wrote: I prefer that all the members marked with myUDA are process in the order thy appear in Foo. This happens automatically when I iterate with through

Re: Initialise non-copyable, non-default-constrauctable member struct

2018-07-27 Thread Peter Particle via Digitalmars-d-learn
On Friday, 27 July 2018 at 13:06:10 UTC, aliak wrote: On Friday, 27 July 2018 at 13:05:07 UTC, aliak wrote: https://run.dlang.io/is/lLrUiq Sorry: https://run.dlang.io/is/20FUoj Thanks, you are right, but it seems that I have reduced my issue too much, as it still does not work with my

Initialise non-copyable, non-default-constrauctable member struct

2018-07-27 Thread Peter Particle via Digitalmars-d-learn
Question is related to this: https://dlang.org/spec/struct.html#disable_default_construction struct S { int x; @disable this(); // Disables default construction @disable this(this); // Disable copying this(int v) { x = v; } } struct T { float y; S s; @disable