Boost logo

Boost :

Subject: Re: [boost] [regex] How robust are the<boost/regex/pending/unicode_iterator.hpp> adapters?
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-07-25 15:42:38

on Sat Jul 23 2011, John Maddock <> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at