Boost logo

Boost Users :

Subject: [Boost-users] [Boost.Array] Checked iterator in debug mode
From: dariomt_at_[hidden]
Date: 2009-08-12 08:02:23


Hi list,

I can see that boost::array::operator[] has bounds checking in debug mode.

Is there a way to get checked iterators also? Like safe STL style.

If not, would that be a useful addition to boost::array?

And if I was to add checked iterators to boost::array, do you have any
recommendations? Any boost::detail::checked_iterator I can reuse?

Thanks!



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