fill output range with flat values
1 import std.array; 2 3 auto app = appender!(int[])(); 4 fillFlat!int( app, [1,2], 3, 5 [[4,5],[6]], 6 iota(7,9), 7 [[[9],[10,11]],[[12]]], 8 Vec([13.3,666,105]) ); 9 assertEq( app.data, [1,2,3,4,5,6,7,8,9,10,11,12,13,666,105] );
See Implementation
fill output range with flat values