From aca2d372d73bcb2486958b463599362208abdace Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B0=AD=E4=B9=9D=E9=BC=8E?= <109224573@qq.com>
Date: Mon, 28 Feb 2022 17:00:16 +0800
Subject: [PATCH] book: use https for urls (#223)
---
README-zh-cn.md | 4 ++--
README.md | 2 +-
book/en-us/00-preface.md | 2 +-
book/en-us/01-intro.md | 2 +-
book/en-us/02-usability.md | 4 ++--
book/en-us/03-runtime.md | 2 +-
book/en-us/04-containers.md | 2 +-
book/en-us/05-pointers.md | 4 ++--
book/en-us/06-regex.md | 6 +++---
book/en-us/07-thread.md | 4 ++--
book/en-us/08-filesystem.md | 2 +-
book/en-us/09-others.md | 2 +-
book/en-us/10-cpp20.md | 4 ++--
book/en-us/appendix1.md | 4 ++--
book/en-us/appendix2.md | 2 +-
book/en-us/toc.md | 2 +-
book/zh-cn/00-preface.md | 4 ++--
book/zh-cn/01-intro.md | 8 ++++----
book/zh-cn/02-usability.md | 6 +++---
book/zh-cn/03-runtime.md | 4 ++--
book/zh-cn/04-containers.md | 4 ++--
book/zh-cn/05-pointers.md | 6 +++---
book/zh-cn/06-regex.md | 8 ++++----
book/zh-cn/07-thread.md | 6 +++---
book/zh-cn/08-filesystem.md | 4 ++--
book/zh-cn/09-others.md | 4 ++--
book/zh-cn/10-cpp20.md | 6 +++---
book/zh-cn/appendix1.md | 6 +++---
book/zh-cn/appendix2.md | 4 ++--
book/zh-cn/toc.md | 4 ++--
pdf/en-us/meta/template.tex | 2 +-
pdf/zh-cn/meta/template.tex | 2 +-
website/src/modern-cpp/about/copyright.md | 4 ++--
website/themes/moderncpp/layout/index.ejs | 4 ++--
website/themes/moderncpp/layout/page.ejs | 4 ++--
35 files changed, 69 insertions(+), 69 deletions(-)
diff --git a/README-zh-cn.md b/README-zh-cn.md
index 1b0aef8..4b06afa 100644
--- a/README-zh-cn.md
+++ b/README-zh-cn.md
@@ -59,6 +59,6 @@ $ make build
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](./LICENSE)。
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](./LICENSE)。
diff --git a/README.md b/README.md
index 537b6ad..45df2be 100644
--- a/README.md
+++ b/README.md
@@ -65,4 +65,4 @@ The author is grateful to all contributors, including but not limited to [Contri
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](./LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](./LICENSE).
diff --git a/book/en-us/00-preface.md b/book/en-us/00-preface.md
index 067cf0e..b93705a 100644
--- a/book/en-us/00-preface.md
+++ b/book/en-us/00-preface.md
@@ -49,4 +49,4 @@ There are few exercises At the end of each chapter of the book. It is for testin
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/01-intro.md b/book/en-us/01-intro.md
index e31087b..0b203dd 100644
--- a/book/en-us/01-intro.md
+++ b/book/en-us/01-intro.md
@@ -146,4 +146,4 @@ Don't worry at the moment, we will come to meet them in our later chapters.
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/02-usability.md b/book/en-us/02-usability.md
index 2153b32..ee90837 100644
--- a/book/en-us/02-usability.md
+++ b/book/en-us/02-usability.md
@@ -485,7 +485,7 @@ R add(T x, U y) {
}
```
-> Note: There is no difference between typename and class in the template parameter list. Before the keyword typename appears, class is used to define the template parameters. However, when defining a variable with [nested dependency type](http://en.cppreference.com/w/cpp/language/dependent_name#The_typename_disambiguator_for_dependent_names) in the template, you need to use typename to eliminate ambiguity.
+> Note: There is no difference between typename and class in the template parameter list. Before the keyword typename appears, class is used to define the template parameters. However, when defining a variable with [nested dependency type](https://en.cppreference.com/w/cpp/language/dependent_name#The_typename_disambiguator_for_dependent_names) in the template, you need to use typename to eliminate ambiguity.
Such code is very ugly because the programmer must explicitly
indicate the return type when using this template function.
@@ -1106,4 +1106,4 @@ This section introduces the enhancements to language usability in modern C++, wh
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/03-runtime.md b/book/en-us/03-runtime.md
index 878c127..d75f1bc 100644
--- a/book/en-us/03-runtime.md
+++ b/book/en-us/03-runtime.md
@@ -637,4 +637,4 @@ Lambda expression
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/04-containers.md b/book/en-us/04-containers.md
index 9684246..fe1d530 100644
--- a/book/en-us/04-containers.md
+++ b/book/en-us/04-containers.md
@@ -305,4 +305,4 @@ Although `std::tuple` is effective, the standard library provides limited functi
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/05-pointers.md b/book/en-us/05-pointers.md
index fca5ce7..38c167c 100644
--- a/book/en-us/05-pointers.md
+++ b/book/en-us/05-pointers.md
@@ -202,8 +202,8 @@ The technology of smart pointers is not novel. It is a common technology in many
## Further Readings
-- [Why does C++11 have `make_shared` but not `make_unique`](http://stackoverflow.com/questions/12580432/why-does-c11-have-make-shared-but-not-make-unique)
+- [Why does C++11 have `make_shared` but not `make_unique`](https://stackoverflow.com/questions/12580432/why-does-c11-have-make-shared-but-not-make-unique)
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/06-regex.md b/book/en-us/06-regex.md
index 6d4f47c..dd2963f 100644
--- a/book/en-us/06-regex.md
+++ b/book/en-us/06-regex.md
@@ -227,9 +227,9 @@ An suggested solution can be found [here](../../exercises/6).
## Further Readings
-1. [Comments from `std::regex`'s author](http://zhihu.com/question/23070203/answer/84248248)
-2. [Library document of Regular Expression](http://en.cppreference.com/w/cpp/regex)
+1. [Comments from `std::regex`'s author](https://zhihu.com/question/23070203/answer/84248248)
+2. [Library document of Regular Expression](https://en.cppreference.com/w/cpp/regex)
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/07-thread.md b/book/en-us/07-thread.md
index 7f2d85f..8c5d033 100644
--- a/book/en-us/07-thread.md
+++ b/book/en-us/07-thread.md
@@ -545,9 +545,9 @@ They provide a critical foundation for standardized high-performance computing f
## Further Readings
- [C++ Concurrency in Action](https://www.amazon.com/dp/1617294691/ref=cm_sw_em_r_mt_dp_U_siEmDbRMMF960)
-- [Thread document](http://en.cppreference.com/w/cpp/thread)
+- [Thread document](https://en.cppreference.com/w/cpp/thread)
- Herlihy, M. P., & Wing, J. M. (1990). Linearizability: a correctness condition for concurrent objects. ACM Transactions on Programming Languages and Systems, 12(3), 463–492. https://doi.org/10.1145/78969.78972
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).`
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).`
diff --git a/book/en-us/08-filesystem.md b/book/en-us/08-filesystem.md
index 078cd76..1008503 100644
--- a/book/en-us/08-filesystem.md
+++ b/book/en-us/08-filesystem.md
@@ -27,4 +27,4 @@ TODO:
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
diff --git a/book/en-us/09-others.md b/book/en-us/09-others.md
index 9db078e..773a961 100644
--- a/book/en-us/09-others.md
+++ b/book/en-us/09-others.md
@@ -203,4 +203,4 @@ effective Let the compiler optimize our code to the maximum extent possible.
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/10-cpp20.md b/book/en-us/10-cpp20.md
index 8988edf..04c69ee 100644
--- a/book/en-us/10-cpp20.md
+++ b/book/en-us/10-cpp20.md
@@ -94,9 +94,9 @@ This is still full of charm for a programming language that is already in its th
## Further Readings
- [Why Concepts didn't make C++17?](http://honermann.net/blog/2016/03/06/why-concepts-didnt-make-cxx17/)
-- [C++11/14/17/20 Compiler Support](http://en.cppreference.com/w/cpp/compiler_support)
+- [C++11/14/17/20 Compiler Support](https://en.cppreference.com/w/cpp/compiler_support)
- [C++ History](https://en.cppreference.com/w/cpp/language/history)
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
diff --git a/book/en-us/appendix1.md b/book/en-us/appendix1.md
index dd17766..cfde041 100644
--- a/book/en-us/appendix1.md
+++ b/book/en-us/appendix1.md
@@ -10,7 +10,7 @@ First of all, congratulations 🎉 on reading this book! I hope this book has ra
As mentioned in the introduction to this book, this book is just a book that takes you quickly to the new features of modern C++ 11/14/17/20, rather than the advanced learning practice of C++ "Black Magic". The author of course also thinks about this demand, but the content is very difficult and there are few audiences. Here, the author lists some materials that can help you learn more about modern C++ based on this book. I hope I can help you:
-- [C++ Reference](http://en.cppreference.com/w)
+- [C++ Reference](https://en.cppreference.com/w)
- [CppCon YouTube Channel](https://www.youtube.com/user/CppCon/videos)
- [Ulrich Drepper. What Every Programmer Should Know About Memory. 2007](https://people.freebsd.org/~lstewart/articles/cpumemory.pdf)
- to be added
@@ -19,4 +19,4 @@ As mentioned in the introduction to this book, this book is just a book that tak
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
diff --git a/book/en-us/appendix2.md b/book/en-us/appendix2.md
index 8d377b9..aa1053e 100644
--- a/book/en-us/appendix2.md
+++ b/book/en-us/appendix2.md
@@ -36,4 +36,4 @@ TODO:
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
diff --git a/book/en-us/toc.md b/book/en-us/toc.md
index 89607e0..2f03b30 100644
--- a/book/en-us/toc.md
+++ b/book/en-us/toc.md
@@ -109,4 +109,4 @@ Table of Content | Last Chapter | [Next Chapter: Preface](./00-preface.md)
## Licenses
-
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
+
This work was written by [Ou Changkun](https://changkun.de) and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the [MIT license](../../LICENSE).
\ No newline at end of file
diff --git a/book/zh-cn/00-preface.md b/book/zh-cn/00-preface.md
index a60a0ef..ec04257 100644
--- a/book/zh-cn/00-preface.md
+++ b/book/zh-cn/00-preface.md
@@ -46,6 +46,6 @@ C++17 则是近三年依赖 C++ 社区一致推进的方向,也指出了 **现
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/01-intro.md b/book/zh-cn/01-intro.md
index 80e324c..a74a372 100644
--- a/book/zh-cn/01-intro.md
+++ b/book/zh-cn/01-intro.md
@@ -138,12 +138,12 @@ clean:
## 进一步阅读的参考文献
- [C++ 语言导学. Bjarne Stroustrup](https://www.amazon.cn/dp/B00WUBYBYS/ref=sr_1_1?ie=UTF8&qid=1522400738&sr=8-1&keywords=C%2B%2B+%E8%AF%AD%E8%A8%80%E5%AF%BC%E5%AD%A6)
-- [C++ 历史](http://en.cppreference.com/w/cpp/language/history)
-- [C++ 特性在 GCC/Clang 等编译器中的支持情况](http://en.cppreference.com/w/cpp/compiler_support)
+- [C++ 历史](https://en.cppreference.com/w/cpp/language/history)
+- [C++ 特性在 GCC/Clang 等编译器中的支持情况](https://en.cppreference.com/w/cpp/compiler_support)
- [C++98 与 C99 之间的区别](http://david.tribble.com/text/cdiffs.htm#C99-vs-CPP98)
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/02-usability.md b/book/zh-cn/02-usability.md
index b4710e2..a12bacb 100644
--- a/book/zh-cn/02-usability.md
+++ b/book/zh-cn/02-usability.md
@@ -417,7 +417,7 @@ R add(T x, U y) {
}
```
-> 注意:typename 和 class 在模板参数列表中没有区别,在 typename 这个关键字出现之前,都是使用 class 来定义模板参数的。但在模板中定义有[嵌套依赖类型](http://en.cppreference.com/w/cpp/language/dependent_name#The_typename_disambiguator_for_dependent_names)的变量时,需要用 typename 消除歧义
+> 注意:typename 和 class 在模板参数列表中没有区别,在 typename 这个关键字出现之前,都是使用 class 来定义模板参数的。但在模板中定义有[嵌套依赖类型](https://en.cppreference.com/w/cpp/language/dependent_name#The_typename_disambiguator_for_dependent_names)的变量时,需要用 typename 消除歧义
这样的代码其实变得很丑陋,因为程序员在使用这个模板函数的时候,必须明确指出返回类型。但事实上我们并不知道 `add()` 这个函数会做什么样的操作,以及获得一个什么样的返回类型。
@@ -1019,6 +1019,6 @@ std::cout << new_enum::value3 << std::endl
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/03-runtime.md b/book/zh-cn/03-runtime.md
index e2855df..857d8ad 100644
--- a/book/zh-cn/03-runtime.md
+++ b/book/zh-cn/03-runtime.md
@@ -567,6 +567,6 @@ constexpr _Tp&& forward(typename std::remove_reference<_Tp>::type&& __t) noexcep
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/04-containers.md b/book/zh-cn/04-containers.md
index d39205d..e3aded4 100644
--- a/book/zh-cn/04-containers.md
+++ b/book/zh-cn/04-containers.md
@@ -305,6 +305,6 @@ for(int i = 0; i != tuple_len(new_tuple); ++i)
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/05-pointers.md b/book/zh-cn/05-pointers.md
index bdfaf59..08dc48b 100644
--- a/book/zh-cn/05-pointers.md
+++ b/book/zh-cn/05-pointers.md
@@ -183,10 +183,10 @@ int main() {
## 进一步阅读的参考资料
-1. [stackoverflow 上关于『C++11为什么没有 make_unique』的讨论](http://stackoverflow.com/questions/12580432/why-does-c11-have-make-shared-but-not-make-unique)
+1. [stackoverflow 上关于『C++11为什么没有 make_unique』的讨论](https://stackoverflow.com/questions/12580432/why-does-c11-have-make-shared-but-not-make-unique)
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/06-regex.md b/book/zh-cn/06-regex.md
index 6564757..b24da50 100644
--- a/book/zh-cn/06-regex.md
+++ b/book/zh-cn/06-regex.md
@@ -230,11 +230,11 @@ void start_server(SERVER_TYPE &server) {
## 进一步阅读的参考资料
-1. [知乎『如何评价 GCC 的 C++11 正则表达式?』中原库作者 Tim Shen 的回答](http://zhihu.com/question/23070203/answer/84248248)
-2. [正则表达式库文档](http://en.cppreference.com/w/cpp/regex)
+1. [知乎『如何评价 GCC 的 C++11 正则表达式?』中原库作者 Tim Shen 的回答](https://zhihu.com/question/23070203/answer/84248248)
+2. [正则表达式库文档](https://en.cppreference.com/w/cpp/regex)
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/07-thread.md b/book/zh-cn/07-thread.md
index e498204..6a402bc 100644
--- a/book/zh-cn/07-thread.md
+++ b/book/zh-cn/07-thread.md
@@ -554,11 +554,11 @@ C++11 语言层提供了并发编程的相关支持,本节简单的介绍了 `
## 进一步阅读的参考资料
- [C++ 并发编程\(中文版\)](https://www.gitbook.com/book/chenxiaowei/cpp_concurrency_in_action/details)
-- [线程支持库文档](http://en.cppreference.com/w/cpp/thread)
+- [线程支持库文档](https://en.cppreference.com/w/cpp/thread)
- Herlihy, M. P., & Wing, J. M. (1990). Linearizability: a correctness condition for concurrent objects. ACM Transactions on Programming Languages and Systems, 12(3), 463–492. https://doi.org/10.1145/78969.78972
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/08-filesystem.md b/book/zh-cn/08-filesystem.md
index 050a616..be60a5a 100644
--- a/book/zh-cn/08-filesystem.md
+++ b/book/zh-cn/08-filesystem.md
@@ -22,6 +22,6 @@ TODO:
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/09-others.md b/book/zh-cn/09-others.md
index fe9d7c5..8dc1861 100644
--- a/book/zh-cn/09-others.md
+++ b/book/zh-cn/09-others.md
@@ -187,6 +187,6 @@ int main() {
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/book/zh-cn/10-cpp20.md b/book/zh-cn/10-cpp20.md
index df09348..c1a4f6a 100644
--- a/book/zh-cn/10-cpp20.md
+++ b/book/zh-cn/10-cpp20.md
@@ -89,11 +89,11 @@ TODO:
## 进一步阅读的参考资料
- [Why Concepts didn't make C++17?](http://honermann.net/blog/2016/03/06/why-concepts-didnt-make-cxx17/)
-- [C++11/14/17/20 编译器支持情况](http://en.cppreference.com/w/cpp/compiler_support)
+- [C++11/14/17/20 编译器支持情况](https://en.cppreference.com/w/cpp/compiler_support)
- [C++ 历史](https://en.cppreference.com/w/cpp/language/history)
## 许可
-
+
-本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
+本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
diff --git a/book/zh-cn/appendix1.md b/book/zh-cn/appendix1.md
index fbc6a2f..e0a32d6 100644
--- a/book/zh-cn/appendix1.md
+++ b/book/zh-cn/appendix1.md
@@ -10,7 +10,7 @@ order: 11
正如本书引言部分提到的,本书只是一本带你快速领略现代 C++ 11/14/17/20 新特性的读物,而非进阶学习实践 C++『黑魔法』的内容。笔者当然也想到了这个需求,只是这样的内容非常艰深,鲜有受众。在此,笔者列出一些能够帮助你在此书基础之上进一步学习现代 C++ 的资料,希望能够祝你一臂之力:
-- [C++ 参考](http://en.cppreference.com/w)
+- [C++ 参考](https://en.cppreference.com/w)
- [CppCon YouTube 频道](https://www.youtube.com/user/CppCon/videos)
- [Ulrich Drepper. 每位程序员都需要知道的内存知识. 2007](https://people.freebsd.org/~lstewart/articles/cpumemory.pdf)
- 待补充
@@ -19,6 +19,6 @@ order: 11
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
diff --git a/book/zh-cn/appendix2.md b/book/zh-cn/appendix2.md
index 6fce2b0..bf8e907 100644
--- a/book/zh-cn/appendix2.md
+++ b/book/zh-cn/appendix2.md
@@ -36,6 +36,6 @@ TODO:
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
\ No newline at end of file
diff --git a/book/zh-cn/toc.md b/book/zh-cn/toc.md
index 5a44489..fa2cbd9 100644
--- a/book/zh-cn/toc.md
+++ b/book/zh-cn/toc.md
@@ -109,6 +109,6 @@
## 许可
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
diff --git a/pdf/en-us/meta/template.tex b/pdf/en-us/meta/template.tex
index 380f619..bd22952 100644
--- a/pdf/en-us/meta/template.tex
+++ b/pdf/en-us/meta/template.tex
@@ -172,7 +172,7 @@ $endif$
\vspace{1em}
\textbf{\large License}
- \noindent This work was written by \href{https://github.com/changkun}{Ou Changkun} and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. \texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/}
+ \noindent This work was written by \href{https://github.com/changkun}{Ou Changkun} and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. \texttt{\small https://creativecommons.org/licenses/by-nc-nd/4.0/}
\vspace{5em}
\includegraphics{../../assets/cover-2nd-en}
diff --git a/pdf/zh-cn/meta/template.tex b/pdf/zh-cn/meta/template.tex
index 69f6011..9288c33 100644
--- a/pdf/zh-cn/meta/template.tex
+++ b/pdf/zh-cn/meta/template.tex
@@ -179,7 +179,7 @@ $endif$
\vspace{1em}
\textbf{\large 版权声明}
- \noindent 本书系\href{https://github.com/changkun}{欧长坤}著,采用“知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 (cc by-nc-sa)”进行许可。\texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/}
+ \noindent 本书系\href{https://github.com/changkun}{欧长坤}著,采用“知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 (cc by-nc-sa)”进行许可。\texttt{\small https://creativecommons.org/licenses/by-nc-nd/4.0/}
\vspace{7em}
\includegraphics{../../assets/cover-2nd}
diff --git a/website/src/modern-cpp/about/copyright.md b/website/src/modern-cpp/about/copyright.md
index c63c60e..b065dc4 100755
--- a/website/src/modern-cpp/about/copyright.md
+++ b/website/src/modern-cpp/about/copyright.md
@@ -4,6 +4,6 @@ type: about
order: 3
---
-
+
-本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 [MIT](https://opensource.org/licenses/MIT) 协议开源。
\ No newline at end of file
+本书系[欧长坤](https://github.com/changkun)著,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 [MIT](https://opensource.org/licenses/MIT) 协议开源。
\ No newline at end of file
diff --git a/website/themes/moderncpp/layout/index.ejs b/website/themes/moderncpp/layout/index.ejs
index 0dbd3cd..f5677d0 100755
--- a/website/themes/moderncpp/layout/index.ejs
+++ b/website/themes/moderncpp/layout/index.ejs
@@ -51,11 +51,11 @@