Unary Operators is an actively used design pattern.

?Years Old
  • Unary Operators ranks in the top 50% of entities I track
  • the Unary Operators wikipedia page
  • I have 8 facts about Unary Operators. what would you like to know? email me and let me know how I can help.

Languages with Unary Operators include cpp

Example from cpp:

int count = 2;
&count; // address
*count; // indirection
+count; // Positive
-count; // negative
~count; // one's complement
!x; // logical negation
sizeof count;

Last updated November 6th, 2019