Re: [Boost-users] Boost.MultiArray bounds checking
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
6875
Age (days ago)
6875
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani