摘要: 看这样一段代码 template <class t> struct print{ void operator()(const t& a){ cout<<a<<"\n"; } }, int main(){ int ia[6] = {1,2,3,4,5,6}; for_each(ia.begin(),i 阅读全文
posted @ 2023-01-02 09:11 heisse 阅读(16) 评论(0) 推荐(0) 编辑