see #2: typo fixes

This commit is contained in:
Changkun Ou
2019-07-14 23:20:14 +02:00
parent 9779283735
commit 3f51c5ea2e
17 changed files with 3373 additions and 3310 deletions

View File

@@ -6,7 +6,7 @@ order: 3
# Chapter 03: Language Runtime Enhancements # Chapter 03: Language Runtime Enhancements
[Table of Content](./toc.md) | [Previous Chapter](./02-usability.md) | [Next Chapter: Sandard Library: Containers](./04-containers.md) [Table of Content](./toc.md) | [Previous Chapter](./02-usability.md) | [Next Chapter: Standard Library: Containers](./04-containers.md)
## Further Readings ## Further Readings

View File

@@ -1,12 +1,12 @@
--- ---
title: "Chapter 04 Sandard Library: Containers" title: "Chapter 04 Standard Library: Containers"
type: book-en-us type: book-en-us
order: 4 order: 4
--- ---
# Chapter 04 Sandard Library: Containers # Chapter 04 Standard Library: Containers
[Table of Content](./toc.md) | [Previous Chapter](./03-runtime.md) | [Next Chapter: Sandard Library: Pointers](./05-pointers.md) [Table of Content](./toc.md) | [Previous Chapter](./03-runtime.md) | [Next Chapter: Standard Library: Pointers](./05-pointers.md)
## Further Readings ## Further Readings

View File

@@ -1,12 +1,12 @@
--- ---
title: "Chapter 05 Sandard Library: Pointers" title: "Chapter 05 Standard Library: Pointers"
type: book-en-us type: book-en-us
order: 5 order: 5
--- ---
# Chapter 05 Sandard Library: Pointers # Chapter 05 Standard Library: Pointers
[Table of Content](./toc.md) | [Previous Chapter](./04-containers.md) | [Next Chapter: Sandard Library: Regular Expression](./06-regex.md) [Table of Content](./toc.md) | [Previous Chapter](./04-containers.md) | [Next Chapter: Standard Library: Regular Expression](./06-regex.md)
## Further Readings ## Further Readings

View File

@@ -1,12 +1,12 @@
--- ---
title: "Chapter 06 Sandard Library: Regular Expression" title: "Chapter 06 Standard Library: Regular Expression"
type: book-en-us type: book-en-us
order: 6 order: 6
--- ---
# Chapter 06 Sandard Library: Regular Expression # Chapter 06 Standard Library: Regular Expression
[Table of Content](./toc.md) | [Previous Chapter](./05-pointers.md) | [Next Chapter: Sandard Library: Threads and Concurrency](./07-thread.md) [Table of Content](./toc.md) | [Previous Chapter](./05-pointers.md) | [Next Chapter: Standard Library: Threads and Concurrency](./07-thread.md)
## Further Readings ## Further Readings

View File

@@ -1,12 +1,12 @@
--- ---
title: "Chapter 07 Sandard Library: Threads and Concurrency" title: "Chapter 07 Standard Library: Threads and Concurrency"
type: book-en-us type: book-en-us
order: 7 order: 7
--- ---
# Chapter 07 Sandard Library: Threads and Concurrency # Chapter 07 Standard Library: Threads and Concurrency
[Table of Content](./toc.md) | [Previous Chapter](./06-regex.md) | [Next Chapter: Sandard Library: File System](./08-filesystem.md) [Table of Content](./toc.md) | [Previous Chapter](./06-regex.md) | [Next Chapter: File System](./08-filesystem.md)
## Further Readings ## Further Readings

View File

@@ -1,10 +1,25 @@
--- ---
title: "Chapter 08 Sandard Library: File System" title: "Chapter 08 File System"
type: book-en-us type: book-en-us
order: 8 order: 8
--- ---
# Chapter 08 Sandard Library: File System # Chapter 08 File System
[TOC]
The file system library provides functions related to
the operation of the file system, path, regular files, directories, and so on.
Similar to the regular expression library, he was one of the first libraries
to be launched by boost and eventually merged into the C++ standard.
## 8.1 Document and Link
TODO:
## 8.2 std::filesystem
TODO:
[Table of Content](./toc.md) | [Previous Chapter](./07-thread.md) | [Next Chapter: Minor Features](./09-others.md) [Table of Content](./toc.md) | [Previous Chapter](./07-thread.md) | [Next Chapter: Minor Features](./09-others.md)

View File

@@ -18,7 +18,7 @@ so most compilers already support it.
C++11 now formally incorporate it into the standard library, C++11 now formally incorporate it into the standard library,
specifying a `long long int` type with at least 64 bits. specifying a `long long int` type with at least 64 bits.
## 9.2 `noexcept` Operations ## 9.2 `noexcept` and Its Operations
One of the big advantages of C++ over C is that One of the big advantages of C++ over C is that
C++ itself defines a complete set of exception handling mechanisms. C++ itself defines a complete set of exception handling mechanisms.
@@ -106,7 +106,7 @@ exception captured, from non_block_throw()
## 9.3 Literal ## 9.3 Literal
### String Literal ### Raw String Literal
In traditional C++, it is very painful to write a string full of In traditional C++, it is very painful to write a string full of
special characters. For example, a string containing HTML ontology special characters. For example, a string containing HTML ontology

View File

@@ -66,23 +66,23 @@ void sort(Sortable& c); // c is a Sortable type object
Let's look at a practical example. Let's look at a practical example.
TODO TODO:
## Module ## Module
TODO TODO:
## Contract ## Contract
TODO TODO:
## Range ## Range
TODO TODO:
## Coroutine ## Coroutine
TODO TODO:
## Conclusion ## Conclusion

View File

@@ -10,27 +10,27 @@ In this appendix we will briefly talk about the best practices of modern C++. In
## Common Tools ## Common Tools
TODO TODO:
## Coding Style ## Coding Style
TODO TODO:
## Overall Performance ## Overall Performance
TODO TODO:
## Code Security ## Code Security
TODO TODO:
## Maintainability ## Maintainability
TODO TODO:
## Portability ## Portability
TODO TODO:
[Table of Content](./toc.md) | [Previous Chapter](./appendix1.md) [Table of Content](./toc.md) | [Previous Chapter](./appendix1.md)

View File

@@ -54,7 +54,7 @@
+ rvalue reference & lvalue reference + rvalue reference & lvalue reference
+ Move semantics + Move semantics
+ Perfect forwarding + Perfect forwarding
- [**Chapter 04 Sandard Library: Containers**](./04-containers.md) - [**Chapter 04 Standard Library: Containers**](./04-containers.md)
+ 4.1 `std::array` and `std::forward_list` + 4.1 `std::array` and `std::forward_list`
+ 4.2 Unordered containers + 4.2 Unordered containers
+ `std::unordered_set` + `std::unordered_set`
@@ -63,11 +63,11 @@
+ basic operation + basic operation
+ runtime indexing + runtime indexing
+ merge and iteration + merge and iteration
- [**Chapter 05 Sandard Library: Pointers**](./05-pointers.md) - [**Chapter 05 Standard Library: Pointers**](./05-pointers.md)
+ 5.1 RAII and reference counting + 5.1 RAII and reference counting
+ 5.2 `std::shared_ptr` + 5.2 `std::shared_ptr`
+ 5.3 `std::unique_ptr` + 5.3 `std::unique_ptr`
- [**Chapter 06 Sandard Library: Regular Expression**](./06-regex.md) - [**Chapter 06 Standard Library: Regular Expression**](./06-regex.md)
+ 6.1 Regular Expression Introduction + 6.1 Regular Expression Introduction
+ Normal characters + Normal characters
+ Special characters + Special characters
@@ -84,16 +84,16 @@
+ 7.5 `std::atomic` and memory order + 7.5 `std::atomic` and memory order
+ 7.6 Transactional memory + 7.6 Transactional memory
+ 7.7 Coroutine + 7.7 Coroutine
- [**Chapter 08 Sandard Library: File System**](./08-filesystem.md) - [**Chapter 08 File System**](./08-filesystem.md)
+ 8.1 Documents and links + 8.1 Documents and links
+ 8.2 `std::filesystem` + 8.2 `std::filesystem`
- [**Chapter 09 Minor Features**](./09-others.md) - [**Chapter 09 Minor Features**](./09-others.md)
+ 9.1 New Types + 9.1 New Types
+ `long long int` + `long long int`
+ 9.2 `noexcept` and its operates + 9.2 `noexcept` and Its Operations
+ 9.3 Literal + 9.3 Literal
+ Raw string literal + Raw String Literal
+ Custom string literal + Custom String Literal
+ 9.4 Math Library + 9.4 Math Library
- [**Chapter 10 Outlook: Introduction of C++20**](./10-cpp20.md) - [**Chapter 10 Outlook: Introduction of C++20**](./10-cpp20.md)
+ Concept + Concept

View File

@@ -197,7 +197,7 @@ auto f = pool.enqueue([](int life) {
std::cout << f.get() << std::endl; std::cout << f.get() << std::endl;
``` ```
[返回目录](./toc.md) | [上一章](./06-regex.md) | [下一章 标准库:文件系统](./08-filesystem.md) [返回目录](./toc.md) | [上一章](./06-regex.md) | [下一章 文件系统](./08-filesystem.md)
## 进一步阅读的参考资料 ## 进一步阅读的参考资料

View File

@@ -1,12 +1,10 @@
--- ---
title: 第 8 章 标准库:文件系统 title: 第 8 章 文件系统
type: book-zh-cn type: book-zh-cn
order: 8 order: 8
--- ---
# 第 8 章 标准库:文件系统 # 第 8 章 文件系统
> TODO: 这部分内容为 C++17 新增
[TOC] [TOC]
@@ -14,10 +12,12 @@ order: 8
## 8.1 文档与链接 ## 8.1 文档与链接
TODO:
## 8.2 std::filesystem ## 8.2 std::filesystem
TODO:
[返回目录](./toc.md) | [上一章](./07-thread.md) | [下一章 其他杂项](./09-others.md) [返回目录](./toc.md) | [上一章](./07-thread.md) | [下一章 其他杂项](./09-others.md)
## 许可 ## 许可

View File

@@ -55,23 +55,23 @@ void sort(Sortable& c); // c 是一个 Sortable 类型的对象
我们现在来看一个实际的例子。 我们现在来看一个实际的例子。
TODO TODO:
## 模块 ## 模块
TODO TODO:
## 合约 ## 合约
TODO TODO:
## 范围 ## 范围
TODO TODO:
## 协程 ## 协程
TODO TODO:
## 总结 ## 总结

View File

@@ -10,27 +10,27 @@ order: 12
## 常用工具 ## 常用工具
TODO TODO:
## 代码风格 ## 代码风格
TODO TODO:
## 整体性能 ## 整体性能
TODO TODO:
## 代码安全 ## 代码安全
TODO TODO:
## 可维护性 ## 可维护性
TODO TODO:
## 可移植性 ## 可移植性
TODO TODO:
[返回目录](./toc.md) | [上一章](./11-appendix1.md) [返回目录](./toc.md) | [上一章](./11-appendix1.md)

View File

@@ -84,7 +84,7 @@
+ 7.5 `std::atomic` 与内存顺序 + 7.5 `std::atomic` 与内存顺序
+ 7.6 事务内存 + 7.6 事务内存
+ 7.7 协程 + 7.7 协程
- [**第 8 章 标准库: 文件系统**](./08-filesystem.md) - [**第 8 章 文件系统**](./08-filesystem.md)
+ 8.1 文档与链接 + 8.1 文档与链接
+ 8.2 `std::filesystem` + 8.2 `std::filesystem`
- [**第 9 章 其他杂项**](./09-others.md) - [**第 9 章 其他杂项**](./09-others.md)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff