>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

Martin> Anyway this is a great idea at this point. The cost is a small
Martin> constant instead of linear with doc size.

Martin> Tested and works. OK to go in?

I'd rather see the patch first.

You may want to
BOOST_ASSERT(&pars_[pit] == par);
and/or
BOOST_ASSERT(pit >=0 && pit < pars_.size());

JMarc

Reply via email to