From a6d3ae16736d7746ad6827f10c299ad84aa78a5b Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 12 Apr 2023 22:41:33 +0200 Subject: c++: add example for picking template with partial specialzations --- src/development/c++/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/development/c++/Makefile') 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) -- cgit v1.2.3