Skip to content

Commit

Permalink
deploy: 8d4aa5d
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Aug 30, 2024
1 parent 49c7a49 commit e382511
Show file tree
Hide file tree
Showing 7 changed files with 535 additions and 5 deletions.
1 change: 1 addition & 0 deletions cpp_tricks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,7 @@ <h2 id="_9">救命!为什么我的全局函数不能作为函数对象?</h2>
<p><img src="../img/awesomeface.png" height="30px" width="auto" style="margin: 0; border: none"/> 建议修改标准库,把小彭老师这两个真正好用的宏塞到 <code>&lt;utility&gt;</code><code>&lt;functional&gt;</code> 里,作为 C++26 标准的一部分。</p>
</blockquote>
<h2 id="map-any">map + any 外挂属性</h2>
<p>TODO</p>
<h2 id="shared_ptr-deleter">自定义 shared_ptr 的 deleter</h2>
<h2 id="check_cuda">CHECK_CUDA 类错误检测宏</h2>
<h2 id="_10">函数默认参数求值的位置是调用者</h2>
Expand Down
528 changes: 528 additions & 0 deletions cuda_intro/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion design_virtual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ <h2 id="_6">跨接口的适配器</h2>
};
</code></pre>
<p>他们要求的用法是先判断 hasNext(),然后才能调用 getNext 读取出真正的值。小彭老师设计了一个 Poost 适配器,把 PoostInputer 翻译成我们的 Inputer:</p>
<pre><code class="language-cpp">struct PoostInputerAdapter {
<pre><code class="language-cpp">struct PoostInputerAdapter : Inputer {
PoostInputer *poostIn;

PoostInputerAdapter(PoostInputer *poostIn)
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ <h2 id="_1">前言</h2>
<blockquote>
<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>
</blockquote>
<p>更新时间:2024年08月28日 23:08:04 (UTC+08:00)</p>
<p>更新时间:2024年08月30日 17:36:18 (UTC+08:00)</p>
<p><a href="https://parallel101.github.io/cppguidebook">在 GitHub Pages 浏览本书</a> | <a href="https://142857.red/book">在小彭老师自己维护的镜像上浏览本书</a></p>
<h2 id="_2">格式约定</h2>
<blockquote>
Expand Down
5 changes: 3 additions & 2 deletions print_page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ <h2 id="index-_1">前言</h2>
<blockquote>
<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>
</blockquote>
<p>更新时间:2024年08月28日 23:08:04 (UTC+08:00)</p>
<p>更新时间:2024年08月30日 17:36:18 (UTC+08:00)</p>
<p><a href="https://parallel101.github.io/cppguidebook">在 GitHub Pages 浏览本书</a> | <a href="https://142857.red/book">在小彭老师自己维护的镜像上浏览本书</a></p>
<h2 id="index-_2">格式约定</h2>
<blockquote>
Expand Down Expand Up @@ -2343,6 +2343,7 @@ <h2 id="cpp_tricks-_9">救命!为什么我的全局函数不能作为函数对
<p><img src="../img/awesomeface.png" height="30px" width="auto" style="margin: 0; border: none"/> 建议修改标准库,把小彭老师这两个真正好用的宏塞到 <code>&lt;utility&gt;</code> 和 <code>&lt;functional&gt;</code> 里,作为 C++26 标准的一部分。</p>
</blockquote>
<h2 id="cpp_tricks-map-any">map + any 外挂属性</h2>
<p>TODO</p>
<h2 id="cpp_tricks-shared_ptr-deleter">自定义 shared_ptr 的 deleter</h2>
<h2 id="cpp_tricks-check_cuda">CHECK_CUDA 类错误检测宏</h2>
<h2 id="cpp_tricks-_10">函数默认参数求值的位置是调用者</h2>
Expand Down Expand Up @@ -11213,7 +11214,7 @@ <h2 id="design_virtual-_6">跨接口的适配器</h2>
};
</code></pre>
<p>他们要求的用法是先判断 hasNext(),然后才能调用 getNext 读取出真正的值。小彭老师设计了一个 Poost 适配器,把 PoostInputer 翻译成我们的 Inputer:</p>
<pre><code class="language-cpp">struct PoostInputerAdapter {
<pre><code class="language-cpp">struct PoostInputerAdapter : Inputer {
PoostInputer *poostIn;

PoostInputerAdapter(PoostInputer *poostIn)
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit e382511

Please sign in to comment.