Search

October 15
DIP Ideas »
I use a mixin generator for my types and I can switch between 2 columns...
October 15
General »
...a template is or what is a mixin, wich is what phobos is made of...
October 13
Issues »
...for mixins:
```
alias X1 = mixin("Types")[0].Type;
alias X2 = mixin("Types").Type;
```

It is...
October 11
DIP Ideas »
...MouseButton: ubyte {
    static foreach(i; 1..9)
        mixin("mouse_"~i.stringof~",");
    mouse_left = mouse_1...
October 08
Learn »
...d
template Foo() { int hp; }
struct EntityDef
{
  mixin Foo stats;
}

void main()
{
  auto num = EntityDef...
October 02
Learn »
...value = data.to!T;
        }
        mixin DownRange;
    }

    enum _input = str;
    string...
October 01
Learn »
...02X%)";
        }
    }
}


import std.stdio;
void main()
{
    //mixin MyCon!int;/*
    mixin MyCon!int zero;

    // There is...
September 28
Learn »
...towards perfection!

```d
struct Sarma {
    int i;
    // mixin DownRange;
}

struct Foo(T) {
    int[] array;
  ...
September 26
General »
...member function makes little sense. Imagine writing mixin templates without having `typeof(this)`.

Also, the...
September 25
DIP Ideas »
...core.attributes the following mixin template implements the list mechanism.

```d
mixin template ListOfSymbolState(SymbolState...
1 2 3 4
Next ›   Last »