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

请问什么是按位复制,第一次听到这个概念? #318

Closed
Aaron009 opened this issue Jan 29, 2021 · 3 comments
Closed

请问什么是按位复制,第一次听到这个概念? #318

Aaron009 opened this issue Jan 29, 2021 · 3 comments

Comments

@Aaron009
Copy link

Aaron009 commented Jan 29, 2021

它是深度拷贝的意思吗?

我还发现一个问题。书中说花括号创建词法作用域,词法作用域我是第一次看到,以前我学习其他编程语言是都说的是 块作用域。 我学的假编程吗?

我和作者一样,学了一点点的CPP,非常高兴出现了Rust这门语言解决了此危机。
之前看写CPP的同事,写的服务端程序崩溃了,缺找不到原因,看的实在着急。
Rust应该解决了此问题吧。

@ZhangHanDong
Copy link
Owner

@Aaron009 可以查看本仓库issues里Pin起来的第三个issues就有讨论:#75

@Aaron009
Copy link
Author

@ZhangHanDong 书中说用花括号创造词法作用域,词法作用域我是第一次看到,以前我学习其他编程语言是都说的是块作用域。

块作用域是不是就是词法作用域。

@ZhangHanDong
Copy link
Owner

@Aaron009 可以这么理解。

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

2 participants