Boost logo

Boost :

From: Greer, Joe (jgreer_at_[hidden])
Date: 2006-01-31 10:50:02


> -----Original Message-----
> From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]]
> On Behalf Of David Abrahams
> Sent: Tuesday, January 31, 2006 10:38 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] [Review] Fixed Strings review period extended
>
>
> std::string str(30, 0);
> someoldcapi(&str[0]);
> str.resize(str.find(0));
> str.find(...)
>
.

I didn't think strings were guaranteed to be contiguous, or did that get
slipped in when I wasn't looking?

Joe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk