Skip to content

Update 03-runtime.md #49

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

Merged
merged 1 commit into from
Dec 19, 2018
Merged

Update 03-runtime.md #49

merged 1 commit into from
Dec 19, 2018

Conversation

ehds
Copy link
Contributor

@ehds ehds commented Dec 19, 2018

resolve #48

右值引用和左值引用部分
main函数里面第二行的注释

// std::string&& r1 = s1; // 非法, 右值引用不能引用左值

s1并未在上下文出现,应该这里是指上面所写的lv1

@changkun changkun merged commit 6f6531f into changkun:master Dec 19, 2018
@changkun changkun added the typo label Dec 19, 2018
HarrisonDing pushed a commit to HarrisonDing/modern-cpp-tutorial that referenced this pull request Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

第三章-右值引用左值引用一处笔误
2 participants