stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: STDCXX-435
Date Wed, 12 Mar 2008 20:48:22 GMT
 

> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Wednesday, March 12, 2008 10:52 AM
> To: dev@stdcxx.apache.org
> Subject: Re: STDCXX-435
> 
> Eric Lemings wrote:
> [...]
> > Right.  And I believe that limit is
> > 
> > 	min(__from_end-__from, __to_limit-__to)
> 
> Suppose MB_CUR_MAX=4, the size of the source sequence is 1 byte
> (with no terminating NUL), and the byte doesn't form a complete
> multibyte character. There's no way to tell the function not to
> attempt to read past the first byte.

I could be missing something but wouldn't this constitute an invalid
conversion?

Brad.

Mime
View raw message