alias chunks = ChunksTuple!(4, 1, 2, 3, 4, 5, 6, byte, short, int, long); static assert(chunks[0].equals!(1, 2, 3, 4)); static assert(chunks[1].equals!(5, 6, byte, short)); static assert(chunks[2].equals!(int, long));
Analog of $(STDREF range, chunks) for generic tuples except chunkSize is the first argument.
Creates a generic tuple comprised of packed generic tuples comprised of fixed-sized chunks of size chunkSize of A.
If A.length is not evenly divisible by chunkSize, the last packed generic tuple will contain fewer than chunkSize elements.