Commit Graph

58 Commits

Author SHA1 Message Date
Changkun Ou
93ce6490a6 book: revise release acquire semantics
Fixes #174
2021-08-11 13:10:34 +02:00
Changkun Ou
b0f6f30988 book: fmt 2021-08-11 12:41:48 +02:00
Changkun Ou
309f1f3731 book: wrap code
Fixes #186
2021-08-11 12:41:16 +02:00
Changkun Ou
6f5615b971 book: fix an inconsistency between en-us and zh-cn 2021-08-11 12:36:35 +02:00
Changkun Ou
e202554f16 book: import correct header
Fixes #192
Fixes #147
2021-08-11 12:33:44 +02:00
Changkun Ou
d472ff1421 book: add text about auto as func args
Fixes #180
2021-08-11 11:20:57 +02:00
QuarticCat
7f7d7086a9 book: remove default template parameters (#194) 2021-07-07 08:25:57 +02:00
Nikhil Garuda
731a219d89 book: typo and grammar fixes (#185) 2021-04-18 12:12:26 +02:00
Dw9
ad4b9580a5 book: rephrease unique_ptr value capturing (#182) 2021-04-13 09:36:31 +02:00
Umedzhon Abdumuminov
5e2531058c book: fix anchor link (#181) 2021-04-12 11:42:50 +02:00
LaChimere
4cb055f629 book: typo fixes (#177) 2021-04-05 23:30:43 +02:00
Changkun Ou
a5445b7c55 book: typo fixes
Fixes #159
2020-12-31 09:40:58 +01:00
Guoliang WANG
91739f178c book: typo fixes (#164)
Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-29 08:51:11 +01:00
iaxax
6b911261fa book: typo fixes (#148)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 07:14:22 +01:00
Tengfei Niu
1e78a01ac0 book: fix incorrect return value description of std::weak_ptr expired (#144)
* Fix error

资源尚存在时,`std::weak_ptr` 的 `expired()` 方法返回 `false`, 否则返回 `true`。

* book: fix error

Fix error, while the resource of `std::shared_ptr` exists, `std::weak_ptr`'s `expired()` method returns `false`, otherwise it returns `true`.
2020-11-17 08:34:05 +01:00
Tianyi Shi
56de7fa327 book: typo fixes (#143) 2020-11-15 07:23:39 +01:00
Changkun Ou
0f8819f4f9 book: remove nullptr 0L condition
This is a bug introduced in #132.

Fixes #136
2020-10-20 07:44:21 +02:00
sunshaoce
c9f8eb70fd book: improve NULL example (#133) 2020-10-03 09:27:14 +02:00
Allen
212f4f3503 book: typo fixes (#126)
comple -> compile
2020-09-30 07:11:56 +02:00
changdingfang
518c6e97d7 book: typos fix in ch07-thread (#118)
revise the code to make sure it consistent with the book description
2020-08-28 17:24:05 +02:00
Rayan
a3f9aaa394 book/en: fix markdown syntax error (#121)
Fixes #120
2020-08-28 17:08:48 +02:00
changdingfang
32bdf85ebd book: fix indent typos (#117) 2020-08-24 06:59:44 +02:00
TinyWang
4de9eb49f7 book: use curly brackets to initailize aggregate objects (#112) 2020-08-10 10:00:08 +02:00
Changkun Ou
9dbdd53f2e book/en: typo fixes
Fixes #113
2020-08-10 09:52:24 +02:00
TinyWang
79b6d5b567 book: fix the incorrect character in regex (#107) 2020-07-17 16:36:48 +02:00
dragonWater
3abc907bb4 book: fix incorrect string literal (#102) and a typo (#103) 2020-06-03 08:19:41 +02:00
TinyWang
f1c1e06178 book: fix the wrong about delctype (#101) 2020-05-30 15:26:10 +02:00
Daniel
0f39561c5a book: improve wording for decltype sentence (#100) 2020-05-27 07:33:39 +02:00
Ivan.Yang
b5e90c4fdf book: typo fix (#99) 2020-05-22 12:14:42 +02:00
Changkun Ou
d31da4caf9 book: fix typo in memory order acquire
Fixes #96
2020-04-20 08:34:16 +02:00
Changkun Ou
a5d1563609 book: fix a chunk of english typos
Fixes #87
2020-03-15 15:30:48 +01:00
Christoph Dibak
8767bb89c4 book: english typo (#79) 2019-09-20 15:06:54 +02:00
Swastik Baranwal
0aa031f0f6 book: add missing header files (#74) 2019-09-18 16:27:08 +02:00
Changkun Ou
b12e03e82d book: translate ch02
Update #12
2019-07-20 13:35:51 +02:00
Changkun Ou
2eb8fdb099 all: rename book title
Update #1
2019-07-20 12:44:34 +02:00
Changkun Ou
6238d66b11 book: translate ch03
see #12
2019-07-20 12:06:37 +02:00
Changkun Ou
7776a59e97 book: translation of ch04
Update #12
2019-07-19 19:17:16 +02:00
Changkun Ou
bf6b09253b book: translation of ch05
Update #12
2019-07-19 18:34:41 +02:00
Changkun Ou
84813a0317 book: translation of ch07
Update #12
2019-07-19 17:31:54 +02:00
Changkun Ou
86d84d25ca book: chapter name refinement 2019-07-19 12:32:34 +02:00
Changkun Ou
115827f98c book: add memory alignment alignof and alignas
see #2
2019-07-19 12:00:46 +02:00
Changkun Ou
677f74b691 book: revision of ch07 & finish atomics
Update #2
2019-07-19 11:03:27 +02:00
Changkun Ou
6062a58161 see #2: update std::atomic and memory model 2019-07-18 17:22:23 +02:00
Changkun Ou
5aff35b0f7 see #2: revision of parallelism and concurrency 2019-07-16 14:38:40 +02:00
Changkun Ou
864ef221e6 see #12: fix pandoc build fail because of regex 2019-07-16 10:49:54 +02:00
Changkun Ou
507f8b9673 see #12: translate ch06 2019-07-16 09:32:56 +02:00
Changkun Ou
3f51c5ea2e see #2: typo fixes 2019-07-14 23:20:14 +02:00
Changkun Ou
9779283735 see #12: translate ch09 2019-07-14 23:10:07 +02:00
Changkun Ou
3fc59f9bea see #12: translate ch10 2019-07-14 22:52:27 +02:00
Changkun Ou
cc1d3d7cb9 see #2: update exercises and maintains of content 2019-07-10 11:36:44 +02:00