Re: [v3 patch] Implement N3421 - make functors greater<>

2013-11-01 Thread Jonathan Wakely
On 1 November 2013 11:48, Jonathan Wakely wrote: > On 1 November 2013 11:28, Marc Glisse wrote: >> On Fri, 1 Nov 2013, Jonathan Wakely wrote: >> >>> 2013-11-01 Jonathan Wakely >>> >>>N3421 C++1y Transparent functors >>>* include/bits/stl_function.h (plus, minus, >>>multip

Re: [v3 patch] Implement N3421 - make functors greater<>

2013-11-01 Thread Jonathan Wakely
On 1 November 2013 11:28, Marc Glisse wrote: > On Fri, 1 Nov 2013, Jonathan Wakely wrote: > >> 2013-11-01 Jonathan Wakely >> >>N3421 C++1y Transparent functors >>* include/bits/stl_function.h (plus, minus, >>multiplies, divides, modulus, negate, >>equal_to, not_eq

Re: [v3 patch] Implement N3421 - make functors greater<>

2013-11-01 Thread Marc Glisse
On Fri, 1 Nov 2013, Jonathan Wakely wrote: 2013-11-01 Jonathan Wakely N3421 C++1y Transparent functors * include/bits/stl_function.h (plus, minus, multiplies, divides, modulus, negate, equal_to, not_equal_to, greater, less, greater_equal, less_equal, logica

[v3 patch] Implement N3421 - make functors greater<>

2013-11-01 Thread Jonathan Wakely
This implements another piece of the C++14 library, STL's "transparent functors" proposal. I also added the is_transparent typedefs, which come from another proposal but modify these "diamond operators". I hope to get round to using those typedefs to implement Joaquin's heterogeneous lookup soon.