|
Boost Users : |
From: Ronald Garcia (garcia_at_[hidden])
Date: 2006-02-07 00:39:50
Hi Thorsten,
Honestly, I was just considering whether it would be worth while to
take the time to do so. Given the amount of interest shown here, I
have gone ahead and added range checking to the value accessor
operator[]() and the element accessor operator()(). The range checks
are based on boost/assert.hpp: they can be disabled by either defining
BOOST_DISABLE_ASSERTS or NDEBUG.
I have yet to update the documentation to reflect this, but I thought
it wise to announce the feature addition.
Cheers,
ron
On Feb 2, 2006, at 2:15 PM, Thorsten Ottosen wrote:
> Ronald Garcia wrote:
>> 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?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net