Re: [PATCH] Define [range.cmp] comparisons for C++20

2019-10-25 Thread Jonathan Wakely
On 25/10/19 14:34 +0100, Jonathan Wakely wrote: On 23/10/19 08:08 +0100, Jonathan Wakely wrote: On Wed, 23 Oct 2019 at 00:33, Tam S. B. wrote: The use of concepts is causing `#include ` to break on clang. OK, thanks, I'll guard it with #if. Fixed on trunk with this patch. My Clang 7.0.1 st

Re: [PATCH] Define [range.cmp] comparisons for C++20

2019-10-25 Thread Jonathan Wakely
On 23/10/19 08:08 +0100, Jonathan Wakely wrote: On Wed, 23 Oct 2019 at 00:33, Tam S. B. wrote: The use of concepts is causing `#include ` to break on clang. OK, thanks, I'll guard it with #if. Fixed on trunk with this patch. My Clang 7.0.1 still can't compile current trunk though, because w

Re: [PATCH] Define [range.cmp] comparisons for C++20

2019-10-23 Thread Jonathan Wakely
On Wed, 23 Oct 2019 at 00:33, Tam S. B. wrote: > > > commit b948d3f92d7bbe4d53237cb20ff40a15fa123988 > > Author: Jonathan Wakely > > Date: Thu Oct 17 15:20:38 2019 +0100 > > > > Define [range.cmp] comparisons for C++20 > > > > Define std::identity, std::ranges::equal_to, std::ranges::no

Re: [PATCH] Define [range.cmp] comparisons for C++20

2019-10-22 Thread Tam S. B.
> commit b948d3f92d7bbe4d53237cb20ff40a15fa123988 > Author: Jonathan Wakely > Date: Thu Oct 17 15:20:38 2019 +0100 > > Define [range.cmp] comparisons for C++20 > > Define std::identity, std::ranges::equal_to, std::ranges::not_equal_to, > std::ranges::greater, std::ranges::less,

Re: [PATCH] Define [range.cmp] comparisons for C++20

2019-10-18 Thread Jonathan Wakely
On 17/10/19 16:40 +0100, Jonathan Wakely wrote: Define std::identity, std::ranges::equal_to, std::ranges::not_equal_to, std::ranges::greater, std::ranges::less, std::ranges::greater_equal and std::ranges::less_equal. * include/Makefile.am: Add new header. * include/Makefile.in: R

[PATCH] Define [range.cmp] comparisons for C++20

2019-10-17 Thread Jonathan Wakely
Define std::identity, std::ranges::equal_to, std::ranges::not_equal_to, std::ranges::greater, std::ranges::less, std::ranges::greater_equal and std::ranges::less_equal. * include/Makefile.am: Add new header. * include/Makefile.in: Regenerate. * include/bits/range_cmp.h: Ne