From 86714ada11278260f3b7ccd725c0a2f154f1937b Mon Sep 17 00:00:00 2001 From: Ramsay Leung Date: Fri, 30 Aug 2024 22:57:23 -0700 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=87=E7=AB=A0=E5=BC=95?= =?UTF-8?q?=E7=94=A8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...204\345\207\275\346\225\260\351\207\215\350\275\275.md" | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git "a/content/zh/post/2024/Rust\346\250\241\346\213\237C++\347\232\204\345\207\275\346\225\260\351\207\215\350\275\275.md" "b/content/zh/post/2024/Rust\346\250\241\346\213\237C++\347\232\204\345\207\275\346\225\260\351\207\215\350\275\275.md" index 9b39ced4..68aefdf8 100644 --- "a/content/zh/post/2024/Rust\346\250\241\346\213\237C++\347\232\204\345\207\275\346\225\260\351\207\215\350\275\275.md" +++ "b/content/zh/post/2024/Rust\346\250\241\346\213\237C++\347\232\204\345\207\275\346\225\260\351\207\215\350\275\275.md" @@ -1,7 +1,7 @@ +++ title = "Rust模拟C++的函数重载" date = 2024-08-30T22:23:00-07:00 -lastmod = 2024-08-30T22:55:01-07:00 +lastmod = 2024-08-30T22:57:12-07:00 tags = ["rust", "c++"] categories = ["rust", "c++"] draft = false @@ -63,3 +63,8 @@ void func1(Type2 bar); 毕竟 Rust 设计初衷之一就是支持强类型,就函数重载而言,终归聊胜于无啦。
+ +## 4 参考 {#参考} + +- [Programming Rust, 2nd Edition](https://www.oreilly.com/library/view/programming-rust-2nd/9781492052586/)
+