Search

August 12
Learn »
...types—which does not require a complete statement: https://dlang.org/spec/type.html#mixin_types
August 05
Issues »
...1024 * 1024;
        static foreach (i; 0 .. 255) {
                mixin("ubyte[limit] array", i, ";");
        }
        ref ubyte opIndex...
August 04
General »
...B b) if (op != "in") {
     return Typedef(mixin("payload "~op~" b.payload"));
  }

  //static if (!is...
August 04
General »
...translated code may make more sense if done with a policy-based template and `mixin`.



August 01
DIP Ideas »
...be useful as an argument to a mixin template instead of a string literal for...
August 01
Learn »
...case for this? mixin & import

    Long list of version.....
    version(Windows)
        mixin(import("foo_windows...
August 01
General »
...m;

version(Windows)
    mixin(import("foo_windows.enum"));
else version(AArch64)
    mixin(import("foo_aarch64...
August 01
General »
...me 2 years ago to use a mixin for enums in the case of BindBC...
July 31
Learn »
...case 0:
                                                            mixin("materials[key]." ~ vec ~ ".x = to!float(val);");
                                                            break;
                                                        case 1:
                                                            mixin("materials...
July 30
General »
...common;

mixin(makeEnumBindFns(cStyle: true, dStyle: true)); //this defines `makeEnumBind`

//makes `enum Plant: ulong`:
mixin...
1 2 3 4 5 6 7
Next ›   Last »