1 assert( eq( flatData!float([1.0,2],[[3,4]],5,[6,7]), [1,2,3,4,5,6,7] ) ); 2 static assert( !__traits(compiles,flatData!char([1.0,2],[[300,4]],5,[6,7])) ); 3 static assert( __traits(compiles,flatData!ubyte([1.0,2],[[300,4]],5,[6,7])) ); 4 static assert( __traits(compiles,flatData!char("hello", "world")) ); 5 assert( eq( flatData!cfloat(1-1i,2,3i), [1-1i,2+0i,0+3i] ) );