Search

August 22, 2022
Learn »
...int b;

pragma(msg, __traits(getAttributes, b));             		// tuple(U().func)
pragma(msg, typeof(__traits(getAttributes...
August 20, 2022
General »
...3;

static immutable varList = [
    tuple("id1", "name1"),
    tuple("id2", "name2"),
    tuple("id3", "name3"),
];

static foreach...
August 19, 2022
Learn »
...padding;

    foreach (idx, ref tuple; tuples)
    {
        buf ~= toBytes(tuple.size);
        buf ~= tuple.data;
    }

    move(buf...
August 19, 2022
Learn »
...d
import std.typecons : Tuple;

sadsad executeFunction(Mtypes...)(dstring func, Tuple!(Mtypes) args)
{
    static foreach...
August 15, 2022
Learn »
...PageHeader header;
    Tuple[] tuples;
    ubyte[PAGE_SIZE] buffer;

    void insertTuple(Tuple tuple)
    {
        tuples ~= tuple;
        header...
August 14, 2022
Learn »
...toHash() const {
    auto tuples = points[].map!(p => tuple(cast()p.x, cast()p.y)).array...
August 13, 2022
Genel »
...aklıma geldi, belki aradığın Çokuzlu'dur yani Tuple olanağı. Hatta std.variant'da Algebraic vardı...
August 12, 2022
Learn »
...0;
        foreach (kv; [
            tuple("readConfig1", &readConfig1),
	    tuple("readConfig2", &readConfig2),
	    tuple("readConfig3", &readConfig3),
            tuple("readConfig4", &readConfig4...
August 01, 2022
Learn »
...auto aa_data = o
                   .byKeyValue
                   .map!(kv => tuple(kv.key, kv.value.str))
                   .assocArray;
    static...
August 01, 2022
Learn »
...import std.typecons : tuple;
    auto aa_data = data.object
        .byKeyValue
        .map!(kv => tuple(kv.key...
37 38 39 40 41 42 43 44 45 46 47 48
Next ›   Last »