Search

July 13
General »
...concatenation with a mixin:
```d
void main(){
	int n;
	import std.writeln;
	mixin((string[] list...
July 12
Announce »
...base where they were essentially using a mixin to fix up the structure to basically...
July 08
Learn »
...A)
{
    static foreach (member; __traits(allMembers, A))
        mixin("Meta!(typeof(A.%1$s)) %1$s...
July 06
Learn »
That's annoying that it couldn't have been more straight forward.. but that'll...
July 04
DIP Ideas »
Maybe this isn’t worth it, as mixin Identifiers would supersede this.
July 04
DIP Ideas »
One can always use the index: `mixin("size_t l", cast(int)i, " = ...")`. This is...
July 03
Learn »
It's important to remember that what happens at CTFE is not the same as...
July 03
Learn »
On Wednesday, 3 July 2024 at 03:52:41 UTC, Steven Schveighoffer wrote:

What about...
July 03
DIP Ideas »
...mixin template

```d
mixin template mixMeIn(T)
{
    alias R = int delegate(T);
}

struct S
{
    mixin...
July 03
General »
...the `extern(D)` ones could be a lowering to some mixin template in `core.bitfield`.
1 2 3 4 5 6 7 8 9 10
Next ›   Last »