October 11 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...move constructors) to be allowed to be templates, they really need a distinct syntax, otherwise... | |||
October 10 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...is terrifyingly (to me) over-complicated with templates and aliases and trampolines and forwards, etc... | |||
October 07 Learn » Re: Why is this not allowed? | |||
|---|---|---|---|
| |||
...L11092 Wich traverse god knows how many templates Only just because i wanteed to do... | |||
October 06 General » Re: Move Constructor Syntax | |||
|---|---|---|---|
| |||
...s what prevents copy constructors from being templates. As a result, if you're writing... | |||
October 05 General » Move Constructor Syntax | |||
|---|---|---|---|
| |||
...I have seen code so dense with templates it is hard to figure out what... | |||
October 02 Learn » Re: Templates considered impressive | |||
|---|---|---|---|
| |||
You may be right about the alias. Let's go a little further and put... | |||
October 01 General » Re: Move Constructors - Converting Lvalues to Rvalues | |||
|---|---|---|---|
| |||
move() is an unhappy maze of templates. We need something a lot simpler. | |||
October 01 Learn » Re: Templates considered impressive | |||
|---|---|---|---|
| |||
[...] IMO it's not a good idea to recommend the use of `alias this`. It... | |||
October 01 Learn » Re: Templates considered impressive | |||
|---|---|---|---|
| |||
Please add this to your MyCon structure: ```d alias value this; // assert(num1 == 3.14... | |||
October 01 Learn » Re: Templates considered impressive | |||
|---|---|---|---|
| |||
...D is very flexible with templates, especially with the mixin templates. For example, you might... | |||
Copyright © 1999-2021 by the D Language Foundation