On Wednesday, 22 March 2017 at 18:12:31 UTC, Yuxuan Shui wrote:
Hi,
Is there any difference, when a type is passed into an alias
parameter vs into a type parameter?
alias parameters fail with builtin types, ex. 'int'.
hopefully this will be corrected one day.
On Wednesday, 15 February 2017 at 19:39:52 UTC, Andrei
Alexandrescu wrote:
On 02/15/2017 06:20 AM, Daniel N wrote:
On Wednesday, 15 February 2017 at 09:22:14 UTC, Daniel N wrote:
template every(T...)
{
template satisfies(U...)
{
enum satisfies = true;
}
}
(lunch-break =>
On Monday, 13 February 2017 at 21:04:05 UTC, Johan Engelen wrote:
On Monday, 13 February 2017 at 20:09:45 UTC, Daniel Nielsen
wrote:
I still suspect there will be a difference in real-world
applications even with LDC.
Why would you expect there to be a difference?
Module ctors/dtors are
On Monday, 13 February 2017 at 19:41:11 UTC, Johan Engelen wrote:
But for a full program, compile time is the same (it's really
short so you can't really conclude much from it), and binary
size as well (LDC 1.1.0, -O3). For my test cases below, the
binaries are identical, except for around 30
On Saturday, 4 February 2017 at 14:57:59 UTC, Andrei Alexandrescu
wrote:
On 2/3/17 6:33 PM, Walter Bright wrote:
Daniel, Dominikus: please consider writing an article about
this.
That would be indeed very very useful. -- Andrei
Okay, I will. However I currently have some obligations which
On Friday, 3 February 2017 at 20:04:22 UTC, Daniel Nielsen wrote:
On Friday, 3 February 2017 at 19:14:16 UTC, Andrei Alexandrescu
wrote:
Wow. This is... brilliant. Thanks for the great idea. I ran a
few tests and it seems to be doing out of the box most of what
we want with DIP1005 with no
On Friday, 3 February 2017 at 19:14:16 UTC, Andrei Alexandrescu
wrote:
Wow. This is... brilliant. Thanks for the great idea. I ran a
few tests and it seems to be doing out of the box most of what
we want with DIP1005 with no language change at all.
Congratulations!
Andrei
Thank you very
On Wednesday, 24 December 2014 at 06:17:28 UTC, Andrei
Alexandrescu wrote:
In fact a better thought: as soon as D is defined, repeated
subtyping should be detected as an error. Then there's no
question about is in the first place :o).
Andrei
Agreed. How about using override alias this when