• Technus@lemmy.zip
    link
    fedilink
    arrow-up
    11
    ·
    21 hours ago

    Ah right, so that would be a 3D array.

    • T* is a single row of T
    • T** is a list of rows
    • T*** is a list of “layers” in the third dimension

    This would be incredibly hazardous to pass around as a bare pointer with no context, though. I’d expect to see this in a struct that, at minimum, also includes fields for the size of each dimension.