help cast

sdvcn sdvcn at 126.com
Sun Mar 18 08:34:14 UTC 2018


	dchar v11=dchar.max;
	auto vp11 = [v11];
	
	auto v2 = cast(ubyte[]) (vp11);   //v2.length=4
	auto v22 = cast(ubyte[])( [v11]); //v2.length=1


y22.length <> v2.length



More information about the Digitalmars-d mailing list