unary operator overloading syntax

Robert M. Münch robert.muench at robertmuench.de
Sat Jun 12 03:22:37 PDT 2010


On 2010-06-12 12:20:14 +0200, Lutger said:

> (string s) is a (template) parameter to opUnary, containing the 
> operator to be matched, so only the latter is valid syntax.

You mean, "only the first syntax is valid" because the second version 
(latter) doesn't compile for me.

-- 
Robert M. Münch
http://www.robertmuench.de



More information about the Digitalmars-d mailing list