Search

November 24, 2014
Learn »
...range element by element, while `writeln(range)` outputs the whole range.

the second code means...
November 04, 2014
Learn »
...opUnary(string op)() {
		writeln(op);
	}
}

void main() {
	Foo foo = new Foo;

	foo++;
	foo.opUnary!"--";
}

Outputs:
++
--
November 01, 2014
General »
...peek.nsecs;
        writeln(n, " ", len, " ", t1, " ", t2);
    }
}
-------------------

Outputs:

1 1 5517 43650
2 3 4539...
November 01, 2014
Issues »
...true;
}
static assert(test());

Currently the case outputs weird CTFE error.

test.d(12): Error...
October 30, 2014
General »
...outputs "const(float) *"
  }
}


class B
{
  float * a;

  void foo() tailconst
  {
     writeln(typeof(this).stringof);  //outputs...
October 29, 2014
General »
...organized into a coherent whole, and the outputs filtered/directed/controlled by the final end...
October 28, 2014
General »
...void function())TestClass.classinfo.vtbl[idx];
      a(); // outputs 'test: 42'
    }
  }


you need to manually create...
October 27, 2014
General »
...and a variadic list of strings, and outputs those strings to the sink in order...
October 26, 2014
Announce »
...I suggest using string imports with PTX outputs or fatbin).

This makes CUDA programming arguably...
October 23, 2014
Learn »
...P.y) ;
}

This outputs 0 0, whereas the equivalent C++ code outputs 1 2 correctly...
65 66 67 68 69 70 71 72 73 74 75 76
Next ›   Last »