From b0d1cc9b51ec7d5974dab4b308384ddf3cf8204a Mon Sep 17 00:00:00 2001 From: TheLittleBoy Date: Sun, 6 Jul 2014 22:38:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 运算符号应该是英文,特此更正。 --- source/chapter2/23_Advanced_Operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/23_Advanced_Operators.md b/source/chapter2/23_Advanced_Operators.md index 6f15ccdf..a69e62d1 100755 --- a/source/chapter2/23_Advanced_Operators.md +++ b/source/chapter2/23_Advanced_Operators.md @@ -433,7 +433,7 @@ if twoThree == anotherTwoThree { ### 自定义运算符 -标准的运算符不够玩,那你可以声明一些个性的运算符,但个性的运算符只能使用这些字符 `/ = - + * % < >!& | ^。~`。 +标准的运算符不够玩,那你可以声明一些个性的运算符,但个性的运算符只能使用这些字符 `/ = - + * % < > ! & | ^ . ~`。 新的运算符声明需在全局域使用`operator`关键字声明,可以声明为前置,中置或后置的。