25 Oct
2013
25 Oct
'13
4:22 p.m.
On 10/25/2013 2:40 AM, TONGARI J wrote:
2013/10/24 Eric Niebler
On 10/23/2013 8:35 PM, TONGARI J wrote:
I just tried to re-implement it by segments_impl, but seems to cause
memory
violation.
Code is attached. Could you shed some light on this? (note: flatten_view should be writable if the underlying sequence is writable)
I'm afraid I really can't tell by looking at the code.
I still can't figure out what went wrong with the simple segmented one. If somebody can make it work, I'd like to compare both implementations.
Joel?
You haven't yet posted the code that reproduces the crash. -- Eric Niebler Boost.org http://www.boost.org