
23 Jan
2018
23 Jan
'18
6:32 a.m.
On 23/01/2018 12:35, Andrzej Krzemienski wrote:
2018-01-22 23:31 GMT+01:00 Gavin Lambert:
There is still benefit in providing operator==(EC) even if T does not provide operator==, eg. for the construct: [...] This could be handled by providing a dedicated heterogeneous comparison between `result
` and `EC`. But my preference would be a dedicated function.
That already exists; my point was that the argument to conditionally remove operator== might apply to operator==(outcome<>) or operator==(T) but is not necessarily applicable to other operator== cases.