Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-02-13 07:34:46

>Seems like a nice thing to do. But I worry that a substring that knows how
>to act as a read-only string is a bit fragile because it's easy to forget
>that it becomes invalid if the string it's based on is deleted, and
>no necessary connection between the lifetime of these objects.

I know, and I worry about it. However the same issue exists with pairs of
iterators/ranges/views in general. I don't know what the right answer is.

- John Maddock

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