November 13 Issues » [Issue 24857] New: Unknown error while instantiating: __traits(compiles) hides the real issue | |||
|---|---|---|---|
| |||
...AllMembersInModule!MODULE) {
}
}
alias AllMembers = AllMembersInModule!(__traits(parent, {}));
mixin t;
```
The issue here is a typo... | |||
November 11 Issues » [Issue 24854] New: An @disabled opAssign is generated when it doesn't need to be @disabled | |||
|---|---|---|---|
| |||
...ref Member) {}
}
mixin listOpAssign!Member;
pragma(msg, "");
static struct S { Member member; }
mixin listOpAssign!S... | |||
November 08 Announce » Re: Fluid 0.7.0 has been released! | |||
|---|---|---|---|
| |||
...aside for ‘private use’ like this. The mixin template there is just for shared code... | |||
November 03 Announce » Re: Fluid 0.7.0 has been released! | |||
|---|---|---|---|
| |||
...opt for a regular struct instead of mixin, though. I think it's worth noting... | |||
November 02 Announce » Re: Fluid 0.7.0 has been released! | |||
|---|---|---|---|
| |||
...struct Caret{ Vec2!float pos; float height; }
mixin template SharedTextLayoutStuff(Text){
Text text;
RedBlackTree!(LayoutStyleRange... | |||
October 25 Announce » Re: Fluid 0.7.0 has been released! | |||
|---|---|---|---|
| |||
...enough of GObject's macros into string mixin generators that you can sub-class Pango... | |||
October 23 Issues » [Issue 24829] New: Rebindable2 does not correctly handle types with copy constructors or postblit constructors which aren't assignable | |||
|---|---|---|---|
| |||
...d probably need to use a string mixin to generate the appropriate constructor with all... | |||
October 21 Learn » Re: List classes at compile time | |||
|---|---|---|---|
| |||
...or I'll default back to generating the list programmatically to feed into the mixin. | |||
October 19 Learn » List classes at compile time | |||
|---|---|---|---|
| |||
...given base class) to use in a mixin? Longer version: Hi! I'm essentially trying... | |||
October 15 Learn » Re: need help to find a way to replace c macro | |||
|---|---|---|---|
| |||
...js_std_funcs = [
mixin(JS_CFUNC_DEF!(`"exit"`, `1`, `js_std_exit` )),
mixin(JS_CFUNC... | |||
Copyright © 1999-2021 by the D Language Foundation