C++ UFCS update

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 24 13:12:23 PST 2016


On 24.02.2016 11:24, Ola Fosheim Grøstad wrote:
> On Tuesday, 23 February 2016 at 20:49:40 UTC, Timon Gehr wrote:
>> On 23.02.2016 21:35, Ola Fosheim Grøstad wrote:
>>> I find it ironic that Walter objects to reusing operators such as "<<"
>>> while he is reusing "!" for templates
>>
>> No reusing and no irony here. "!" for template instantiation is a
>> binary usage.
>
> Wrong.  Unary, postfix, prefix, mixfix does not matter. It still affects
> usability.
>
> Definition for "operator":
>
> «a symbol or function denoting an operation (e.g. ×, +).»
>

I was responding to a very specific statement, namely the one I quoted, 
if that was unclear.

It's obvious that Walter considers arity to be part of the identity of 
an operator. If you find pleasure in finding irony in misrepresented 
statements, feel free. I don't.


More information about the Digitalmars-d mailing list