Commit Graph

129 Commits

Author SHA1 Message Date
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
Adamas
e5450c767c book: fix smart pointers (#90) 2020-01-08 07:09:27 +01:00
BillyWooo
bc4ff8f614 book/03-runtime: typo (#89) 2019-12-18 22:55:49 +01:00
wangb
04420e835e book: fix a minor typo (#83) 2019-11-13 08:55:08 +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
4b1181f233 book: fix minor typo 2019-08-28 08:47:23 +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
09537ae424 book: add std::forward source and auto&& explain
This commit deals the following questions:
- why const lvalue ref can ref rvalue?
- why auto&& is the safe way for loop?
- why std::forward can do perfect forwarding?

Fix #65
2019-07-20 11:46:36 +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
811c5ef27b book: refine initializer_list in variadic template
see #65
2019-07-19 12:33:28 +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
5e9c33002a see #2: add atomic 2019-07-16 18:33:43 +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
325b9664a8 see #72: use travis-ci 2019-07-15 14:13:02 +02:00
Changkun Ou
3f51c5ea2e see #2: typo fixes 2019-07-14 23:20:14 +02:00