diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-04-12 22:41:33 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-04-12 22:41:33 +0200 |
commit | a6d3ae16736d7746ad6827f10c299ad84aa78a5b (patch) | |
tree | ed71c7fb6b2d4cc82c78fd7ec1ffeadadf31c681 /src/development/c++/Makefile | |
parent | 724d077860e103631605f09a7de35e3ad8796f56 (diff) | |
download | notes-a6d3ae16736d7746ad6827f10c299ad84aa78a5b.tar.gz notes-a6d3ae16736d7746ad6827f10c299ad84aa78a5b.zip |
c++: add example for picking template with partial specialzations
Diffstat (limited to 'src/development/c++/Makefile')
-rw-r--r-- | src/development/c++/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/development/c++/Makefile b/src/development/c++/Makefile index 610b5a2..1d5172b 100644 --- a/src/development/c++/Makefile +++ b/src/development/c++/Makefile @@ -1,4 +1,4 @@ -SRC = concepts-11.cc meta.cc meta2.cc meta4.cc +SRC = concepts-11.cc meta.cc meta2.cc meta4.cc tmpl-pair.cc BIN = $(SRC:.cc=) all: $(BIN) @@ -6,5 +6,8 @@ all: $(BIN) %: %.cc $(CXX) -o $* $^ -std=c++17 -g -fsanitize=address -fsanitize=undefined -fsanitize=leak +fmt: + clang-format -i $(SRC) + clean: $(RM) $(BIN) |