code: update head comments

This commit is contained in:
Changkun Ou
2019-07-19 18:33:06 +02:00
parent 4615e1fc6b
commit f8a2979da7
12 changed files with 74 additions and 8 deletions

View File

@@ -1,3 +1,13 @@
//
// 10.1.without.concepts.cpp
// chapter 10 cpp20
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <list>
#include <algorithm>

View File

@@ -1,3 +1,13 @@
//
// 10.2.concepts.cpp
// chapter 10 cpp20
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <iostream>
#include <string>
#include <vector>

View File

@@ -1,11 +1,11 @@
//
// 6.1.cpp
// 6.1.regex.cpp
// chapter 06 regular expression
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
// Regular Expression
#include <iostream>
#include <string>

View File

@@ -1,5 +1,5 @@
//
// 7.2.critical.section.a.cpp
// 7.4.futures.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//

View File

@@ -1,5 +1,5 @@
//
// 7.5.cpp
// 7.5.producer.consumer.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//

View File

@@ -1,3 +1,12 @@
//
// 7.6.atomic.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <atomic>
#include <thread>
#include <iostream>

View File

@@ -1,3 +1,12 @@
//
// 7.6.bad.example.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <thread>
#include <iostream>

View File

@@ -1,3 +1,12 @@
//
// 7.7.is.lock.free.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <atomic>
#include <iostream>

View File

@@ -1,3 +1,12 @@
//
// 7.8.memory.order.cpp
// chapter 7 parallelism and concurrency
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <atomic>
#include <thread>
#include <vector>

View File

@@ -1,11 +1,11 @@
//
// 8.1.cpp
// 9.1.noexcept.cpp
// chapter 09 others
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
// noexcept
#include <iostream>

View File

@@ -1,11 +1,11 @@
//
// 8.2.cpp
// 9.2.literals.cpp
// chapter 09 others
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
// literals
#include <iostream>
#include <string>

View File

@@ -1,3 +1,13 @@
//
// 9.3.alignment.cpp
// chapter 09 others
// modern c++ tutorial
//
// created by changkun at changkun.de
// https://github.com/changkun/modern-cpp-tutorial
//
#include <iostream>
struct Storage {