Re: Extend the call site default argument expansion mechanism?

2018-05-15 Thread Computermatronic via Digitalmars-d
On Tuesday, 15 May 2018 at 20:31:14 UTC, jmh530 wrote: On Tuesday, 15 May 2018 at 15:02:36 UTC, jmh530 wrote: [snip] Note, it's not an issue if Foo were not a struct. This was fixed in Bug 6400 [1]l. The issue is with template instances. I have filed a new enhancement request [2] [1] http

Re: dub should be more command-line oriented

2018-01-10 Thread Computermatronic via Digitalmars-d
On Wednesday, 10 January 2018 at 15:07:40 UTC, Luís Marques wrote: I often feel that dub relies too much on dub.[json|sdl] and too little on command-line switches. Here's the latest example: [...] You could just make a refactoring configuration and use the --config flag to specify it when ne

Re: [OT] Windows dying

2017-11-03 Thread Computermatronic via Digitalmars-d
On Friday, 3 November 2017 at 18:26:54 UTC, Joakim wrote: On Friday, 3 November 2017 at 18:08:54 UTC, 12345swordy wrote: On Friday, 3 November 2017 at 17:25:26 UTC, Joakim wrote: Most programmers will one day be coding on mobile devices, though I admit I'm in a small, early-adopting minority

Re: isInputRange as a __traits ?

2017-10-07 Thread Computermatronic via Digitalmars-d
On Saturday, 7 October 2017 at 10:31:01 UTC, user1234 wrote: Since the compiler has the ability to detect input ranges in the foreach aggregate that are aggregates implementing the right primitives, why don't you set the widely used std.range.isInputRange as a __trait, e.g __traits(isInputRange

Re: code.dlang.org is offline?

2017-09-22 Thread Computermatronic via Digitalmars-d
On Friday, 22 September 2017 at 08:14:43 UTC, Szabo Bogdan wrote: Hi, Is there a reason why code.dlang.org is offline? Thanks, Bogdan Well, it seems to be working now.

Re: Templates, D way

2017-09-05 Thread Computermatronic via Digitalmars-d
On Tuesday, 5 September 2017 at 12:54:20 UTC, Void-995 wrote: On Tuesday, 5 September 2017 at 12:20:14 UTC, crimaniak wrote: On Tuesday, 5 September 2017 at 11:08:57 UTC, Void-995 wrote: @property mixin(DataList!("firstSublist", MyBinarySubStructAForA, firstSublistMembersCount, firstSublistMe

Re: Templates, D way

2017-09-05 Thread Computermatronic via Digitalmars-d
On Tuesday, 5 September 2017 at 12:20:14 UTC, crimaniak wrote: On Tuesday, 5 September 2017 at 11:08:57 UTC, Void-995 wrote: @property mixin(DataList!("firstSublist", MyBinarySubStructAForA, firstSublistMembersCount, firstSublistMembersOffset)); I don't think string mixins are required here.