Search

2 days ago
DIP Ideas »
...conversion with classes is broken given the fact that alias this exists).

- Jonathan M Davis


2 days ago
DIP Ideas »
...conversions that are the core problem with alias this, and it avoids all issues with...
2 days ago
Learn »
...4, o)(h,e,l,l) == "hello");

    alias Fun = bindArgument!(hello, 5, e);
    //Fun(h...
3 days ago
Learn »
...b;

  alias sum11= partialN!(sum, 1, 10, 11, 12);
  assert(sum11(9) == 20);

  alias sum12...
3 days ago
Learn »
...is trivail

```d
import std;
template partialN(alias F,int arg,argvalue...){
	auto partialN(T...
3 days ago
Learn »
...equal to 5
// fun5 = fun(a, 5);
alias fun5 = partialN!(fun, 1, 5);
writeln(fun5...
4 days ago
General »
...careful when designing my proposal for replacing alias this.

Keep things nice and simple, by...
4 days ago
DIP Ideas »
...suggest that the member variable version of 'alias this' is also a form of embedding...
4 days ago
DIP Ideas »
...gives is the implicit field conversion which 'alias this' seems to offer some form of...
4 days ago
DIP Ideas »
As I recall, the main purpose of 'alias this' is to offer implicit conversion of...
1 2 3
Next ›   Last »