mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-16 20:27:08 +03:00
code: update head comments
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// 7.2.critical.section.a.cpp
|
||||
// 7.4.futures.cpp
|
||||
// chapter 7 parallelism and concurrency
|
||||
// modern c++ tutorial
|
||||
//
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// 7.5.cpp
|
||||
// 7.5.producer.consumer.cpp
|
||||
// chapter 7 parallelism and concurrency
|
||||
// modern c++ tutorial
|
||||
//
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user