book: translation of ch04

Update #12
This commit is contained in:
Changkun Ou
2019-07-19 19:17:16 +02:00
parent bf6b09253b
commit 7776a59e97
9 changed files with 412 additions and 69 deletions

14
code/4/Makefile Normal file
View File

@@ -0,0 +1,14 @@
#
# modern cpp tutorial
#
# created by changkun at changkun.de
# https://github.com/changkun/modern-cpp-tutorial
#
all: $(patsubst %.cpp, %.out, $(wildcard *.cpp))
%.out: %.cpp Makefile
clang++ $< -o $@ -std=c++2a -pedantic
clean:
rm *.out