So if T[] and T[N] are valid, then T[N][M] should also be. This increases
Alexander wrote: the scope greatly but has an incredible difficult questions to answer: What would operator[] return? I don't have a good answer...
Simple questions that already have an answer: The same way shared_ptr
works today. :) Its operator[] returns element_type&
So: auto p = allocate_shared
(alloc); p[3][675] = 8; auto q = allocate_unique
(alloc, size); q[index][1][1][1] = 0.95; Then: dynamic
a(alloc); a[3][675] = 8; i.e. Making it work for T[N] also automatically makes it work for T[N][M].
Sure, but shouldn't `Foo