
14 Mar
2008
14 Mar
'08
4:10 p.m.
On Fri, 14 Mar 2008, Eric Niebler wrote:
The only other term that I have found that is acceptable for the unary plus operator is "unary_plus." That just seems so ... boring. ;-) And a little strange to have "negate" and "unary_plus". Blech.
Is there a mathematician who can tell me if the operation performed by the unary plus operator has a name?
Absolute value? I believe the following names are gaining traction. unary binary ----------------- + positive plus - negative minus This is reflected in the Itanium C++ ABI name mangling as unary binary ----------------- + ps pl - nv mi ~ Daniel