Commit Graph

153 Commits

Author SHA1 Message Date
Dw9
37401ada8b book: add std::weak_ptr<T>::lock (#216) 2021-11-20 16:01:25 +01:00
Okami Wong
c172682723 book: fix typo (#215) 2021-11-16 09:21:53 +01:00
Timothy
19ceeb7b4f book: add missing semicolon (#205) 2021-08-28 21:57:04 +02:00
Killer_Quinn
7f46de1a6c book: typo fixes (#204) 2021-08-14 13:27:16 +02:00
Raine Adams (they/them)
55da3fd452 book: revise preface (#197) 2021-08-11 13:16:56 +02:00
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
weissle
7eeaa7ae4e book: typo fix (#202) 2021-08-06 18:58:34 +02:00
Jiannanya
068840bb72 book: typo fixes (#200) 2021-07-31 11:35:21 +02:00
QuarticCat
7f7d7086a9 book: remove default template parameters (#194) 2021-07-07 08:25:57 +02:00
Killer_Quinn
69aa4f0bdf book: typo fix (#190) 2021-06-13 16:38:29 +02:00
Guo
711694e0a2 book: typo fix (#189) 2021-06-10 14:43:51 +02:00
Timothy
645fa62677 book: format fixes (#187) 2021-04-30 16:00:19 +02:00
Nikhil Garuda
731a219d89 book: typo and grammar fixes (#185) 2021-04-18 12:12:26 +02:00
obweix
45bef893a7 book: typo fixes (#183) 2021-04-16 09:01:20 +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
abuco
9ded3a2967 pdf: fix rendering issue due to line break (#170)
Fixes #149
2021-01-24 08:42:14 +01:00
Changkun Ou
a5445b7c55 book: typo fixes
Fixes #159
2020-12-31 09:40:58 +01:00
Guoliang WANG
054119f69c book: fmt (#163)
Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-29 08:52:14 +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
Guoliang WANG
45618ad676 book: fmt (#154)
* Add space between english and chinease char

* Add space between english and chinease char

* book: typo fixes

Co-authored-by: guoliang wang <tswanggl@hotmail.com>
2020-12-21 05:25:45 +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
Tengfei Niu
6a3d8d7103 book: typo fixes (#141) 2020-11-13 11:08:35 +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
Changkun Ou
659a3801a5 book: typo fixes in 07-thread.md
Fixes #125
2020-10-18 20:39:22 +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
Changkun Ou
1421f372e0 book: typo fixes
fixes #104
2020-07-26 11:04:07 +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
Wenjin.Rao
1fcfd36964 book: fix a minor typo (#97) 2020-04-23 08:28:57 +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
HaoYuan
89060d4b96 book: fix typo in 03-runtime.md (#95)
fix chapter3.7 perfect.forward code err.
2020-03-15 15:13:20 +01:00