Skip to content

Commit

Permalink
修改错别字
Browse files Browse the repository at this point in the history
  • Loading branch information
Mq-b committed Mar 21, 2024
1 parent 315685e commit a7e6b14
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
node_modules
.vitepress/cache/
.vitepress/dist/
.vitepress/dist/
.vscode
.vs
debug/
bin/
out/
build/
*.pdb
*.exe
*.lik
*.dll
*.log
*.tlog
*.exp
*.ilk
*.obj
*.lib
*.APS
2 changes: 1 addition & 1 deletion md/第一部分-基础知识/02类模板.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ char* p = nullptr;
Test t(p); // t 是 Test<char[]>
```

推导指引的语法还是简单的,如果只是设计具体类型,那么只需要:
推导指引的语法还是简单的,如果只是涉及具体类型,那么只需要:

**`模板名称(类型a)->模板名称<想要让类型a被推导为的类型>`**

Expand Down

0 comments on commit a7e6b14

Please sign in to comment.