Algorithm remove Tid

Casper Færgemand" <shorttail at hotmail.com> Casper Færgemand" <shorttail at hotmail.com>
Wed Jan 22 04:11:21 PST 2014


import std.algorithm;
import std.concurrency;

void main() {
	Tid[] tids = [];
	Tid tid = thisTid;
	tids ~= tid;
	tids.remove(tid);
}

Why does this not compile?


More information about the Digitalmars-d-learn mailing list