討論串[問題] function tempalte的overloading呼叫
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者scwg ( )時間14年前 (2012/05/29 00:15), 編輯資訊
0
0
0
內容預覽:
error: invalid initialization of non-const reference of type `const char*&' from an rvalue of type `char*'. error: in passing argument 1 of `void test
(還有878個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者ro1234 ( 女子 月巴)時間14年前 (2012/05/28 22:57), 編輯資訊
0
0
0
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). dev c++. 小弟在研讀template時,對於function template 重載產生了些許疑問. 因此寫了個測試程式,程式為以下的部分. template<class T>. void test(c
(還有1207個字)
首頁
上一頁
1
下一頁
尾頁