Search

October 07, 2023
Learn »
...can't, there was a DIP for tuple/deconstruction prior to that question, sadly nothing...
October 07, 2023
Learn »
...C] dict;
  C[F] freq;

  void opAssign(Tuple!(C, F, S) chr) {
    dict[chr[0...
October 05, 2023
Learn »
...tupleof[i]` create at compile time the tuple, just to read a single element, when...
October 05, 2023
General »
...T...)(Tuple!(S,T) stack)=>tuple(stack.expand,stack[$-1]);
auto push(S,T...)(Tuple...
October 04, 2023
General »
...auto tuple(T...)(T args)=>Tuple!T(forward!args);

auto dup(S,T...)(Tuple!(S...
October 01, 2023
Learn »
...class? Something along the lines of the tuple: (pointer to elements, length, capacity).

I tried...
September 19, 2023
Learn »
...auto getVal(int a, int b) {
    // ...
    return tuple(integer, frac);
}

// out params
int getVal2(int...
September 17, 2023
Announce »
I hope we'll see tagged union + tuple come first before that mess you are...
September 16, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=24088

--- Comment #5 from Dlang Bot <dlang...
September 13, 2023
Learn »
...import std.parallelism: task;
import std.typecons: tuple;

struct MainEngine {
    int rno;
    string firstname;
    string...
19 20 21 22 23 24 25 26 27 28 29 30
Next ›   Last »