Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于表达式的定义 #13

Open
nobodxbodon opened this issue Mar 28, 2021 · 0 comments
Open

关于表达式的定义 #13

nobodxbodon opened this issue Mar 28, 2021 · 0 comments

Comments

@nobodxbodon
Copy link
Contributor

源自 此处

以此为例:

(b, c) = {1, 2} 

按照结构化绑定的格式 (表达式1, 表达式2...) = 表达式3,那么 b 和 c 也都分别是表达式。

但 3.1 里的定义是 “表达式由操作数和运算符组成”,看起来不包括单个变量的情况。

这两边是否有矛盾呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant