Feature request: Path append operators for strings

John Colvin john.loughran.colvin at gmail.com
Wed Jul 3 07:23:53 PDT 2013


On Wednesday, 3 July 2013 at 14:03:20 UTC, TommiT wrote:
> On Wednesday, 3 July 2013 at 13:24:41 UTC, monarch_dodra wrote:
>> Technically, + is already 1D matrix addition [..]
>
> Not 1D matrix, but rather, 1x1 matrix.

in conjunction with [] you have 1D addition. e.g.

	int[10] a = 1;
	int[10] b = 2;

	int[10] c = a[] + b[];

	foreach(el_c; c)
		assert(el_c == 3);


More information about the Digitalmars-d mailing list