فهرست منبع

对附属的测试文件进行一定的修改

Gogs 5 ماه پیش
والد
کامیت
9946c9df9d
2فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 1 1
      .gitignore
  2. 3 2
      test/buid.sh

+ 1 - 1
.gitignore

@@ -1,6 +1,6 @@
 test/builder
 test/CRTP
-
+test/factory
 
 
 

+ 3 - 2
test/buid.sh

@@ -2,7 +2,8 @@ rm -rf *
 echo "开始构建"
 g++ -O3 ../CRTP.cpp -o CRTP -std=c++20
 g++ -O3 ../builder.cpp -o builder -std=c++20
-
+g++ -O3 ../factory.cpp  -o factory -std=c++20
 echo "开始运行"
 ./builder
-./CRTP
+./CRTP
+./factory