Skip to content

Commit

Permalink
Merge pull request #449 from ralphtandetzky/patch-15
Browse files Browse the repository at this point in the history
Update operatoroverloading.dd
  • Loading branch information
AndrejMitrovic committed Dec 18, 2013
2 parents 479585a + ce6aa81 commit 52a5a35
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions operatoroverloading.dd
Expand Up @@ -94,27 +94,27 @@ $(H3 Overloading Index Unary Operators)
$(TABLE2 Overloadable Index Unary Operators,
$(THEAD $(I op), $(I rewrite))
$(TROW
$(D -)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(ARGS $(I a)$(D .opIndexUnary!("-")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))))
$(D -)$(I a)$(D [b1,b2,...,bn]),
$(ARGS $(I a)$(D .opIndexUnary!("-")$(LPAREN)b1,b2,...,bn$(RPAREN))))
$(TROW
$(D +)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(I a)$(D .opIndexUnary!("+")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))
$(D +)$(I a)$(D [b1,b2,...,bn]),
$(I a)$(D .opIndexUnary!("+")$(LPAREN)b1,b2,...,bn$(RPAREN))
)
$(TROW
$(D ~)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(I a)$(D .opIndexUnary!("~")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))
$(D ~)$(I a)$(D [b1,b2,...,bn]),
$(I a)$(D .opIndexUnary!("~")$(LPAREN)b1,b2,...,bn$(RPAREN))
)
$(TROW
$(D *)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(I a)$(D .opIndexUnary!("*")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))
$(D *)$(I a)$(D [b1,b2,...,bn]),
$(I a)$(D .opIndexUnary!("*")$(LPAREN)b1,b2,...,bn$(RPAREN))
)
$(TROW
$(D ++)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(I a)$(D .opIndexUnary!("++")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))
$(D ++)$(I a)$(D [b1,b2,...,bn]),
$(I a)$(D .opIndexUnary!("++")$(LPAREN)b1,b2,...,bn$(RPAREN))
)
$(TROW
$(D --)$(I a)$(D [)$(ARGUMENTS)$(D ]),
$(I a)$(D .opIndexUnary!("--")$(LPAREN))$(ARGUMENTS)$(D $(RPAREN))
$(D --)$(I a)$(D [b1,b2,...,bn]),
$(I a)$(D .opIndexUnary!("--")$(LPAREN)b1,b2,...,bn$(RPAREN))
)
)

Expand Down

0 comments on commit 52a5a35

Please sign in to comment.