On Friday, 28 July 2023 at 21:07:47 UTC, bachmeier wrote:
On Friday, 28 July 2023 at 17:07:37 UTC, IchorDev wrote:
No shit, it felt like an eternity. But it's still not in the
spec...?
I'd expect it to appear in the spec after there's a real
release. This is the first I've heard of it bei
On Friday, 28 July 2023 at 17:07:37 UTC, IchorDev wrote:
On Friday, 28 July 2023 at 17:04:33 UTC, bachmeier wrote:
[The
DIP](https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md) was approved long ago. It was waiting for an implementation.
No shit, it felt like an eternity. But
On Friday, 28 July 2023 at 17:04:33 UTC, bachmeier wrote:
[The
DIP](https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md) was approved long ago. It was waiting for an implementation.
No shit, it felt like an eternity. But it's still not in the
spec...?
On Friday, 28 July 2023 at 07:35:00 UTC, IchorDev wrote:
On Tuesday, 11 July 2023 at 17:43:43 UTC, Steven Schveighoffer
wrote:
On 7/11/23 11:22 AM, Ki Rill wrote:
On Tuesday, 11 July 2023 at 15:16:54 UTC, Ki Rill wrote:
apply(Appearance(color: BLACK, strokeWidth: 4)); // other
fields are defau
On 7/28/23 3:35 AM, IchorDev wrote:
On Tuesday, 11 July 2023 at 17:43:43 UTC, Steven Schveighoffer wrote:
On 7/11/23 11:22 AM, Ki Rill wrote:
On Tuesday, 11 July 2023 at 15:16:54 UTC, Ki Rill wrote:
apply(Appearance(color: BLACK, strokeWidth: 4)); // other fields are
default initialized: strok
On Tuesday, 11 July 2023 at 17:43:43 UTC, Steven Schveighoffer
wrote:
On 7/11/23 11:22 AM, Ki Rill wrote:
On Tuesday, 11 July 2023 at 15:16:54 UTC, Ki Rill wrote:
apply(Appearance(color: BLACK, strokeWidth: 4)); // other
fields are default initialized: strokeOpacity, fillOpacity,
Yes, I was g
On 7/11/23 11:22 AM, Ki Rill wrote:
On Tuesday, 11 July 2023 at 15:16:54 UTC, Ki Rill wrote:
```D
// or this
apply(Appearance(color: BLACK, strokeWidth: 4)); // other fields are
default initialized: strokeOpacity, fillOpacity, etc...
```
Ok, this works with DMD v2.103, but does not work wi
On Tuesday, 11 July 2023 at 15:16:54 UTC, Ki Rill wrote:
```D
// or this
apply(Appearance(color: BLACK, strokeWidth: 4)); // other
fields are default initialized: strokeOpacity, fillOpacity,
etc...
```
Ok, this works with DMD v2.103, but does not work with an older
version (I had ldc2 ins
In C I can do the following:
```C
void apply(struct Appearance a) {...}
// usage
apply((struct Appearance) {
.color = BLACK,
.strokeWidth = 4
});
```
Can I do the same in D without creating a struct variable
separately?
```D
void apply(Appearance a) {...}
// currently accepts
Appearan