Search

November 22
Learn »
...string getOrZeroth(Tuple!(string, string, string) tup, int i)
    {
        switch (i)
        {
            static foreach (j; 0...
November 22
Learn »
...string getOrZerothT(Tuple!(string, string, string) tup, int i)() pure {
	//AliasSeq!(a,b,c) = tup...
November 22
Learn »
...a template value parameter instead:

```
string getOrZeroth(int i)(Tuple!(string, string, string) tup)
{
    return...
November 22
Learn »
...mixed types

`auto foo(tuple!(int,bool,float) t,int i)=>t[i];` should and...
November 22
Learn »
...string getOrZeroth(Tuple!(string, string, string) tup, int i) pure {
        return tup[i] == "" ? tup[0...
November 21
Learn »
...it to convert groups of bytes to int or short or some other integral type...
November 21
Learn »
...same as slicing mmFile below
 int val = data[offset .. $].peek!int; //data[ offset .. offset + 4...
November 21
Issues »
...int)[i]) get(size_t i)() const;
    pragma(msg, typeof(get!0)); // const ref int()

--
November 21
Issues »
...int)`.

It's weird as the function prototype type is OK:

    ref const(AliasSeq!(int...
November 21
Genel »
...9..$ - 2];
void show(string f = __FILE__,
          int line = __LINE__, T)(T t) {
	import std...
1 2 3 4 5 6 7
Next ›   Last »