Skip to content

Commit f8a2979

Browse files
committed
code: update head comments
1 parent 4615e1f commit f8a2979

12 files changed

+74
-8
lines changed

code/10/10.1.without.concepts.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
//
2+
// 10.1.without.concepts.cpp
3+
// chapter 10 cpp20
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
10+
111
#include <list>
212
#include <algorithm>
313

code/10/10.2.concepts.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
//
2+
// 10.2.concepts.cpp
3+
// chapter 10 cpp20
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
10+
111
#include <iostream>
212
#include <string>
313
#include <vector>

code/6/6.1.cpp renamed to code/6/6.1.regex.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
//
2-
// 6.1.cpp
2+
// 6.1.regex.cpp
3+
// chapter 06 regular expression
34
// modern c++ tutorial
45
//
56
// created by changkun at changkun.de
67
// https://github.com/changkun/modern-cpp-tutorial
78
//
8-
// Regular Expression
99

1010
#include <iostream>
1111
#include <string>

code/7/7.4.futures.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// 7.2.critical.section.a.cpp
2+
// 7.4.futures.cpp
33
// chapter 7 parallelism and concurrency
44
// modern c++ tutorial
55
//

code/7/7.5.producer.consumer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// 7.5.cpp
2+
// 7.5.producer.consumer.cpp
33
// chapter 7 parallelism and concurrency
44
// modern c++ tutorial
55
//

code/7/7.6.atomic.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//
2+
// 7.6.atomic.cpp
3+
// chapter 7 parallelism and concurrency
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
110
#include <atomic>
211
#include <thread>
312
#include <iostream>

code/7/7.6.bad.example.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//
2+
// 7.6.bad.example.cpp
3+
// chapter 7 parallelism and concurrency
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
110
#include <thread>
211
#include <iostream>
312

code/7/7.7.is.lock.free.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//
2+
// 7.7.is.lock.free.cpp
3+
// chapter 7 parallelism and concurrency
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
110
#include <atomic>
211
#include <iostream>
312

code/7/7.8.mem_order.cpp renamed to code/7/7.8.memory.order.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//
2+
// 7.8.memory.order.cpp
3+
// chapter 7 parallelism and concurrency
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
110
#include <atomic>
211
#include <thread>
312
#include <vector>

code/9/9.1.noexcept.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
//
2-
// 8.1.cpp
2+
// 9.1.noexcept.cpp
3+
// chapter 09 others
34
// modern c++ tutorial
45
//
56
// created by changkun at changkun.de
67
// https://github.com/changkun/modern-cpp-tutorial
78
//
8-
// noexcept
99

1010
#include <iostream>
1111

code/9/9.2.literals.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
//
2-
// 8.2.cpp
2+
// 9.2.literals.cpp
3+
// chapter 09 others
34
// modern c++ tutorial
45
//
56
// created by changkun at changkun.de
67
// https://github.com/changkun/modern-cpp-tutorial
78
//
8-
// literals
99

1010
#include <iostream>
1111
#include <string>

code/9/9.3.alignment.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
//
2+
// 9.3.alignment.cpp
3+
// chapter 09 others
4+
// modern c++ tutorial
5+
//
6+
// created by changkun at changkun.de
7+
// https://github.com/changkun/modern-cpp-tutorial
8+
//
9+
10+
111
#include <iostream>
212

313
struct Storage {

0 commit comments

Comments
 (0)