29 Jun
2006
29 Jun
'06
4:58 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Baranowski, Daniel Sent: Wednesday, June 28, 2006 7:55 PM To: boost-users@lists.boost.org Subject: [Boost-users] multi_array: creating a view to a single element
[snip]
Basically, I have a 2 Dimensional array and I would like to be able to access the center of that array using a variable that maps to some index (for example, element[3][3] in a 7x7 array). [snip]
Would T & center = element[3][3] be satisfactory? I don't think multiarray supports any type of reallocation after construction, so it should be ok. Sohail