File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -769,7 +769,7 @@ <h2 id="_6">别再写拷贝构造函数啦!</h2>
769769 }
770770 RAIIHandle(RAIIHandle const &) = delete;
771771 RAIIHandle &operator=(RAIIHandle const &) = delete;
772- RAIIHandle() {
772+ ~ RAIIHandle() {
773773 DeleteObject(handle);
774774 }
775775};
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ <h2 id="_1">前言</h2>
292292< blockquote >
293293< p > < img src ="./img/bulb.png " height ="30px " width ="auto " style ="margin: 0; border: none "/> 本书还在持续更新中……要追番的话,可以在 < a href ="https://github.com/parallel101/cppguidebook "> GitHub</ a > 点一下右上角的 “Watch” 按钮,每当小彭老师提交新 commit,GitHub 会向你发送一封电子邮件,提醒你小彭老师更新了。</ p >
294294</ blockquote >
295- < p > 更新时间:2024年12月17日 11:34:36 (UTC+08:00)</ p >
295+ < p > 更新时间:2024年12月17日 11:34:54 (UTC+08:00)</ p >
296296< p > < a href ="https://parallel101.github.io/cppguidebook "> 在 GitHub Pages 浏览本书</ a > | < a href ="https://142857.red/book "> 在小彭老师自己维护的镜像上浏览本书</ a > </ p >
297297< h2 id ="_2 "> 格式约定</ h2 >
298298< blockquote >
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ <h2 id="index-_1">前言</h2>
421421<blockquote>
422422<p><img src="../img/bulb.png" height="30px" width="auto" style="margin: 0; border: none"/> 本书还在持续更新中……要追番的话,可以在 <a href="https://github.com/parallel101/cppguidebook">GitHub</a> 点一下右上角的 “Watch” 按钮,每当小彭老师提交新 commit,GitHub 会向你发送一封电子邮件,提醒你小彭老师更新了。</p>
423423</blockquote>
424- <p>更新时间:2024年12月17日 11:34:36 (UTC+08:00)</p>
424+ <p>更新时间:2024年12月17日 11:34:54 (UTC+08:00)</p>
425425<p><a href="https://parallel101.github.io/cppguidebook">在 GitHub Pages 浏览本书</a> | <a href="https://142857.red/book">在小彭老师自己维护的镜像上浏览本书</a></p>
426426<h2 id="index-_2">格式约定</h2>
427427<blockquote>
@@ -1673,7 +1673,7 @@ <h2 id="cpp_tricks-_6">别再写拷贝构造函数啦!</h2>
16731673 }
16741674 RAIIHandle(RAIIHandle const &) = delete;
16751675 RAIIHandle &operator=(RAIIHandle const &) = delete;
1676- RAIIHandle() {
1676+ ~ RAIIHandle() {
16771677 DeleteObject(handle);
16781678 }
16791679};
Load diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments