genericHere I see a pointer to an array of pointers to an array whose
type T is private;
type T_Array is array (Natural range <>) of aliased T;
type T_Array_Access is access all T_Array;
package Buffers is
type Row_Array is array (Natural range <>) of aliased T_Array_Access;
type Row_Array_Access is access all Row_Array;
That's too much for my small head ( (c) Hoare)
I am familiar with the Dijkstra quote, "I have a very small head and IMy confusion, must be Dijkstra. But that's the quote I wanted...
had better learn to live with it". Did Hoare say something along those
lines, too?
I want just to know if it is possible to make different "view" on 1 dimensional array. And of course I meant not 2-dimensional array butAny one dimensional array can be sliced. If you have an (1 dimensional)
array of arrays. Reason for that is that I want to use slicing on that
view.
I want just to know if it is possible to make different "view" on 1 dimensional array. And of course I meant not 2-dimensional array but
array of arrays. Reason for that is that I want to use slicing on that view.
Ok, here is full specification:
generic
type T is private;
type T_Array is array (Natural range <>) of aliased T;
type T_Array_Access is access all T_Array;
package Buffers is
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 44:05:49 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,952 |