Andrei Alexandrescu wrote:
Is there any good use of unary +? As an aside, Perl programs do use it occasionally for syntactic disambiguation :o).

Andrei

In theory, it could be used in floating point for emphasizing that 0.0 is +0.0 and not -0.0. But that may not be what you mean.
Outside of literals, the number of cases I've seen is
+(+(+(+(+0))))

Reply via email to