Re: PR libstdc++/60587

2014-03-21 Thread Jonathan Wakely
On 20/03/14 20:29 +, Jonathan Wakely wrote: Everything passes for "make check check-debug", so I plan to commit it tomorrow, unless anyone points out a problem. Committed to trunk. PR libstdc++/60587 * include/debug/functions.h (_Is_contiguous_sequence): Define. (

Re: PR libstdc++/60587

2014-03-20 Thread Jonathan Wakely
On 19/03/14 23:38 +0100, Paolo Carlini wrote: On 19/03/14 21:39 +, Jonathan Wakely wrote: I think the safe thing to do is (as I suggested at the time) to have a trait saying which iterator types refer to contiguous memory. Our debug mode only supports our own containers, so the ones which are

Re: PR libstdc++/60587

2014-03-19 Thread Paolo Carlini
Hi > On 19/mar/2014, at 23:28, Jonathan Wakely wrote: > >> On 19/03/14 21:39 +, Jonathan Wakely wrote: >> I think the safe thing to do is (as I suggested at the time) to have a >> trait saying which iterator types refer to contiguous memory. Our >> debug mode only supports our own containers

Re: PR libstdc++/60587

2014-03-19 Thread Jonathan Wakely
On 19/03/14 21:39 +, Jonathan Wakely wrote: I think the safe thing to do is (as I suggested at the time) to have a trait saying which iterator types refer to contiguous memory. Our debug mode only supports our own containers, so the ones which are contiguous are known. For 4.9.0 I think the