
3 Sep
2008
3 Sep
'08
11:46 p.m.
on Wed Sep 03 2008, Arno Schödl <aschoedl-AT-think-cell.com> wrote:
Using Arno's suggestion, dereferencing the end iterator ought to throw, which happens before we increment off the end, right?
The *underlying* iterator? How are you going to get that to throw if it's a pointer?
You don't need to. The underlying iterator can check explicitly.
A pointer can check explicitly? -- Dave Abrahams BoostPro Computing http://www.boostpro.com