Re: Add irreflexive comparison debug check

2015-08-24 Thread Jonathan Wakely
On 21/08/15 21:30 +0200, François Dumont wrote: Ok, it looks like you really want to provide this check in pre-C++11 mode so here it is. Tested under Linux x86_64. Ok to commit ? This looks great, thanks for doing the extra work to avoid the SFINAE checks when the types are the same. Very nic

Re: Add irreflexive comparison debug check

2015-08-21 Thread François Dumont
On 01/08/2015 02:25, Jonathan Wakely wrote: > On 31 July 2015 at 20:49, François Dumont wrote: >> On 30/07/2015 12:30, Jonathan Wakely wrote: >>> On 29/07/15 22:08 +0200, François Dumont wrote: Standard algos signatures are such that there is no guaranty that the operator < or predicat

Re: Add irreflexive comparison debug check

2015-07-31 Thread Jonathan Wakely
On 31 July 2015 at 20:49, François Dumont wrote: > On 30/07/2015 12:30, Jonathan Wakely wrote: >> On 29/07/15 22:08 +0200, François Dumont wrote: >>>Standard algos signatures are such that there is no guaranty that >>> the operator < or predicate to compare the iterator value type will >>> exis

Re: Add irreflexive comparison debug check

2015-07-31 Thread François Dumont
On 30/07/2015 12:30, Jonathan Wakely wrote: > On 29/07/15 22:08 +0200, François Dumont wrote: >> Hi >> >>Here is a patch to add irreflexive debug check. > > Awesome! > > You can add PR libstdc++/60519 to the changelog. Sure. > > >>Standard algos signatures are such that there is no guaranty

Re: Add irreflexive comparison debug check

2015-07-30 Thread Jonathan Wakely
On 29/07/15 22:08 +0200, François Dumont wrote: Hi Here is a patch to add irreflexive debug check. Awesome! You can add PR libstdc++/60519 to the changelog. Standard algos signatures are such that there is no guaranty that the operator < or predicate to compare the iterator value typ