2 Feb
2006
2 Feb
'06
8:32 p.m.
Ronald Garcia wrote:
Hi Frank,
There are no plans to add an at() member function. However, I have considered adding bounds checking to MultiArray operator[] as a debug mode option.
What consideration are you making? Some lone time ago I added that boost::array. Can it hurt to add it?
As a user of multi array, I would like to have bounds checking for [] if NDEBUG is not defined (or something similar). It helps a lot while debugging. An assertion would be best. Sohail