
25 Jul
2011
25 Jul
'11
7:42 p.m.
on Sat Jul 23 2011, John Maddock <boost.regex-AT-virgin.net> wrote:
Changing the underlying bytes after construction of the adapters is a big no-no anyway. It's an invariant that the adapter must always point between two multibyte sequences, and never be left stranded in the middle of one, that could be broken if we allowed the underlying sequence to change at arbitrary moments in time.
I agree that it's unlikely to be needed, but a careful user could make such changes without ever breaking that invariant. -- Dave Abrahams BoostPro Computing http://www.boostpro.com