Extend vector ops to boolean operators?

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Mar 6 12:30:21 PST 2012


It'd be really cool if I could do this:

	void func(int[] vector, int[] bounds) {
		assert(vector[] >= 0 && vector[] < bounds[]);
		...
	}

Is there any reason why we shouldn't implement this?


T

-- 
He who laughs last thinks slowest.


More information about the Digitalmars-d mailing list