未验证 提交 b96d861f 编写于 作者: A Alessandro Gentilini 提交者: GitHub

Add clarification at C.21 (#1792)

上级 da97de71
......@@ -4745,7 +4745,7 @@ into more expensive copies, or making a class move-only.
// ...
}
Given that "special attention" was needed for the destructor (here, to deallocate), the likelihood that copy and move assignment (both will implicitly destroy an object) are correct is low (here, we would get double deletion).
Given that "special attention" was needed for the destructor (here, to deallocate), the likelihood that copy and move assignment (which are generated by the compiler and both will implicitly destroy an object) are correct is low (here, we would get double deletion).
##### Note
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册