Commit Graph

11 Commits

Author SHA1 Message Date
卖码翁
a548ea79bd Print out the stored_value1 and stored_value2 for the lambda example. (#36)
* Fix compilation error for structured binding

The header  <tuple> is missing. After adding it, it compiles fine with clang in c++17 mode.

* Print out the stored_value1 and stored_value2 for the lambda example.

To make it eaiser for the readers to understand the difference
between lambda capture by value and by reference.
2018-06-23 09:24:10 +02:00
卖码翁
e80a7120ef fix: compilation error for structured binding (#35)
The header  <tuple> is missing. After adding it, it compiles fine with clang in c++17 mode.
2018-06-13 13:51:35 +02:00
Changkun Ou
2e63a68751 resolve #17, fix wrong description and example for constexpr 2018-04-19 09:48:44 +02:00
jkandpm
ec3e0e65ba fix: potential endless loop (#22)
* fix potential endless loop

* update code as well
2018-04-18 15:02:50 +02:00
Changkun Ou
cc294b211c revision #2: 检阅部分模板相关内容 2018-04-09 14:48:19 +02:00
Changkun Ou
02a1105512 revision #2: 修改文件名 2018-04-09 14:47:43 +02:00
Changkun Ou
838d30ef5a revision #1: 更新第二章中已维护的代码 2018-04-02 00:28:05 +02:00
Changkun Ou
888f8d0794 revision: #2: 增加随书代码说明 2018-03-30 14:39:30 +02:00
Changkun Ou
51282838f8 revision #1: 第 1 章增加了对 C++17 的支持 2018-03-30 14:18:50 +02:00
Changkun Ou
b29361166f revision #2: 统一修改代码注释 2018-03-30 08:14:35 +02:00
Changkun Ou
71025d8bc6 prepare for c++17 2018-03-26 09:08:36 +02:00