Skip to content

Commit

Permalink
Site updated: 2020-07-17 13:33:23
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinkle-hzt committed Jul 17, 2020
1 parent f269327 commit a68a752
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions 2020/07/09/cpp-template-1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@

<p class="note note-info">

本文最后更新于:2020年7月15日 晚上
本文最后更新于:2020年7月17日 下午

</p>

Expand All @@ -237,7 +237,7 @@

<p>这是本系列<strong>第一篇</strong>文章,以下是本系列文章目录。</p>
<p><a href="#1-函数模板">1. 函数模板(本文)</a></p>
<p><a href>2. 类模板 (正在编写)</a></p>
<p><a href="https://vinkle.top/2020/07/17/cpp-template-2/#2-%E7%B1%BB%E6%A8%A1%E6%9D%BF" target="_blank" rel="noopener">2. 类模板 </a></p>
<h1 id="1-函数模板"><a href="#1-函数模板" class="headerlink" title="1. 函数模板"></a>1. 函数模板</h1><p>本章介绍了函数模板。函数模板是被参数化的函数,因此他们代表了一组行为相似的函数(a family of functions)。</p>
<h2 id="1-1-初识函数模板"><a href="#1-1-初识函数模板" class="headerlink" title="1.1. 初识函数模板"></a>1.1. 初识函数模板</h2><p>函数模板提供了适用于不同类型的函数行为。也就是说,函数模板代表了一组行为相似的函数。函数模板看起来几乎就跟普通函数一样,除了某些信息没有被确定以外。我们通过下面一个简单的例子来说明这一问题。</p>
<h3 id="1-1-1-定义模板"><a href="#1-1-1-定义模板" class="headerlink" title="1.1.1 定义模板"></a>1.1.1 定义模板</h3><p>一下是一个函数模板,它返回两数中的最大值</p>
Expand Down
30 changes: 15 additions & 15 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<div class="category row">
<a
class="category-item list-group-item category-item-action col-10 col-md-11"
id="heading-ckcps9pq60002pcvp7k6e7e02" role="tab" data-toggle="collapse" href="#collapse-ckcps9pq60002pcvp7k6e7e02"
id="heading-ckcpsdtlo000350vp2mvt0yap" role="tab" data-toggle="collapse" href="#collapse-ckcpsdtlo000350vp2mvt0yap"
aria-expanded="true"
>
C++
Expand All @@ -200,8 +200,8 @@
<div class="category-collapse">


<div id="collapse-ckcps9pq60002pcvp7k6e7e02" class="collapse in show" role="tabpanel"
aria-labelledby="heading-ckcps9pq60002pcvp7k6e7e02">
<div id="collapse-ckcpsdtlo000350vp2mvt0yap" class="collapse in show" role="tabpanel"
aria-labelledby="heading-ckcpsdtlo000350vp2mvt0yap">



Expand All @@ -210,7 +210,7 @@
<div class="category-sub row">
<a
class="category-subitem collapsed list-group-item category-item-action col-10 col-md-11"
id="heading-ckcps9pqd000hpcvp17io0t23" role="tab" data-toggle="collapse" href="#collapse-ckcps9pqd000hpcvp17io0t23"
id="heading-ckcpsdtlv000h50vph6i153hc" role="tab" data-toggle="collapse" href="#collapse-ckcpsdtlv000h50vph6i153hc"
aria-expanded="false"
>
Template
Expand All @@ -223,8 +223,8 @@
<div class="category-collapse">


<div id="collapse-ckcps9pqd000hpcvp17io0t23" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcps9pqd000hpcvp17io0t23">
<div id="collapse-ckcpsdtlv000h50vph6i153hc" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcpsdtlv000h50vph6i153hc">



Expand Down Expand Up @@ -253,7 +253,7 @@
<div class="category-sub row">
<a
class="category-subitem collapsed list-group-item category-item-action col-10 col-md-11"
id="heading-ckcps9pqs0015pcvpbaco6a40" role="tab" data-toggle="collapse" href="#collapse-ckcps9pqs0015pcvpbaco6a40"
id="heading-ckcpsdtmm001750vpgdh9hfud" role="tab" data-toggle="collapse" href="#collapse-ckcpsdtmm001750vpgdh9hfud"
aria-expanded="false"
>
杂项
Expand All @@ -266,8 +266,8 @@
<div class="category-collapse">


<div id="collapse-ckcps9pqs0015pcvpbaco6a40" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcps9pqs0015pcvpbaco6a40">
<div id="collapse-ckcpsdtmm001750vpgdh9hfud" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcpsdtmm001750vpgdh9hfud">



Expand Down Expand Up @@ -295,7 +295,7 @@
<div class="category row">
<a
class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
id="heading-ckcps9pqa0007pcvpccolhto4" role="tab" data-toggle="collapse" href="#collapse-ckcps9pqa0007pcvpccolhto4"
id="heading-ckcpsdtls000750vpf8eob5qz" role="tab" data-toggle="collapse" href="#collapse-ckcpsdtls000750vpf8eob5qz"
aria-expanded="false"
>
CSAPP
Expand All @@ -308,8 +308,8 @@
<div class="category-collapse">


<div id="collapse-ckcps9pqa0007pcvpccolhto4" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcps9pqa0007pcvpccolhto4">
<div id="collapse-ckcpsdtls000750vpf8eob5qz" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcpsdtls000750vpf8eob5qz">



Expand Down Expand Up @@ -338,7 +338,7 @@
<div class="category row">
<a
class="category-item collapsed list-group-item category-item-action col-10 col-md-11"
id="heading-ckcps9pqf000mpcvpc3hw90iq" role="tab" data-toggle="collapse" href="#collapse-ckcps9pqf000mpcvpc3hw90iq"
id="heading-ckcpsdtmg000r50vp5hbkdp6w" role="tab" data-toggle="collapse" href="#collapse-ckcpsdtmg000r50vp5hbkdp6w"
aria-expanded="false"
>
算法
Expand All @@ -351,8 +351,8 @@
<div class="category-collapse">


<div id="collapse-ckcps9pqf000mpcvpc3hw90iq" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcps9pqf000mpcvpc3hw90iq">
<div id="collapse-ckcpsdtmg000r50vp5hbkdp6w" class="collapse in" role="tabpanel"
aria-labelledby="heading-ckcpsdtmg000r50vp5hbkdp6w">



Expand Down
2 changes: 1 addition & 1 deletion local-search.xml

Large diffs are not rendered by default.

0 comments on commit a68a752

Please sign in to comment.