摘要: #include <iostream> template<class derived> struct base { derived getDerivedType(){}; void interface(){ static_cast<derived*>(this)->interface();}; }; 阅读全文
posted @ 2022-11-16 19:17 马肯尼煤牙巴骨 阅读(38) 评论(0) 推荐(0)