Skip to content

Commit 79fcb18

Browse files
committed
deploy: b524d17
1 parent 60cf6bc commit 79fcb18

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ <h2 id="_1">前言</h2>
246246
<p>如果你在阅读过程中遇到任何问题,可以在 <a href="https://github.com/parallel101/cppguidebook/issues">GitHub Issues</a> 中提出,小彭老师会尽力解答。</p>
247247
<p>也可以在 <a href="https://space.bilibili.com/263032155">B 站</a> 发私信给小彭老师哦。</p>
248248
<blockquote>
249-
<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>
249+
<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>
250250
</blockquote>
251-
<p>更新时间:2024年08月14日 11:49:15 (UTC+08:00)</p>
251+
<p>更新时间:2024年08月15日 01:31:59 (UTC+08:00)</p>
252252
<h2 id="_2">格式约定</h2>
253253
<blockquote>
254254
<p><img src="./img/bulb.png" height="30px" width="auto" style="margin: 0; border: none"/> 用这种颜色字体书写的内容是温馨提示</p>
@@ -351,7 +351,7 @@ <h2 id="_4">举个例子</h2>
351351
void try_call_foo(T &amp;) {
352352
}
353353
</code></pre>
354-
<p>如果回到 C++98,那又要罪加一等!<code>enable_if</code> 和 是 C++11 引入的 <code>&lt;type_traits&gt;</code> 头文件的帮手类,在 C++98 中,我们需要自己实现 <code>enable_if</code>…… <code>declval</code> 也是 C++11 引入的 <code>&lt;utility&gt;</code> 头文件中的帮手函数……假设你自己好不容易实现出来了 <code>enable_if</code><code>declval</code>,还没完:因为 constexpr 在 C++98 中也不存在了!你无法定义 value 成员变量为编译期常量,我们只好又用一个抽象的枚举小技巧来实现定义类成员常量的效果。</p>
354+
<p>如果回到 C++98,那又要罪加一等!<code>enable_if</code><code>declval</code> 是 C++11 引入的 <code>&lt;type_traits&gt;</code> 头文件的帮手类和帮手函数,在 C++98 中,我们需要自己实现 <code>enable_if</code>…… <code>declval</code> 也是 C++11 引入的 <code>&lt;utility&gt;</code> 头文件中的帮手函数……假设你自己好不容易实现出来了 <code>enable_if</code><code>declval</code>,还没完:因为 constexpr 在 C++98 中也不存在了!你无法定义 value 成员变量为编译期常量,我们只好又用一个抽象的枚举小技巧来实现定义类成员常量的效果。</p>
355355
<pre><code class="language-cpp">template &lt;class T, class = void&gt;
356356
struct has_foo {
357357
enum { value = 0 };

print_page/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ <h2 id="index-_1">前言</h2>
343343
<p>如果你在阅读过程中遇到任何问题,可以在 <a href="https://github.com/parallel101/cppguidebook/issues">GitHub Issues</a> 中提出,小彭老师会尽力解答。</p>
344344
<p>也可以在 <a href="https://space.bilibili.com/263032155">B 站</a> 发私信给小彭老师哦。</p>
345345
<blockquote>
346-
<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>
346+
<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>
347347
</blockquote>
348-
<p>更新时间:2024年08月14日 11:49:15 (UTC+08:00)</p>
348+
<p>更新时间:2024年08月15日 01:31:59 (UTC+08:00)</p>
349349
<h2 id="index-_2">格式约定</h2>
350350
<blockquote>
351351
<p><img src="../img/bulb.png" height="30px" width="auto" style="margin: 0; border: none"/> 用这种颜色字体书写的内容是温馨提示</p>
@@ -448,7 +448,7 @@ <h2 id="index-_4">举个例子</h2>
448448
void try_call_foo(T &amp;) {
449449
}
450450
</code></pre>
451-
<p>如果回到 C++98,那又要罪加一等!<code>enable_if</code> 和 是 C++11 引入的 <code>&lt;type_traits&gt;</code> 头文件的帮手类,在 C++98 中,我们需要自己实现 <code>enable_if</code>…… <code>declval</code> 也是 C++11 引入的 <code>&lt;utility&gt;</code> 头文件中的帮手函数……假设你自己好不容易实现出来了 <code>enable_if</code> 和 <code>declval</code>,还没完:因为 constexpr 在 C++98 中也不存在了!你无法定义 value 成员变量为编译期常量,我们只好又用一个抽象的枚举小技巧来实现定义类成员常量的效果。</p>
451+
<p>如果回到 C++98,那又要罪加一等!<code>enable_if</code> 和 <code>declval</code> 是 C++11 引入的 <code>&lt;type_traits&gt;</code> 头文件的帮手类和帮手函数,在 C++98 中,我们需要自己实现 <code>enable_if</code>…… <code>declval</code> 也是 C++11 引入的 <code>&lt;utility&gt;</code> 头文件中的帮手函数……假设你自己好不容易实现出来了 <code>enable_if</code> 和 <code>declval</code>,还没完:因为 constexpr 在 C++98 中也不存在了!你无法定义 value 成员变量为编译期常量,我们只好又用一个抽象的枚举小技巧来实现定义类成员常量的效果。</p>
452452
<pre><code class="language-cpp">template &lt;class T, class = void&gt;
453453
struct has_foo {
454454
enum { value = 0 };

search/search_index.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)