17函数编程一种越来越流行范式.pdfVIP

  • 4
  • 0
  • 约1.49万字
  • 约 19页
  • 2023-09-14 发布于北京
  • 举报
22 23 return count; 24 马上可以做一个简单的 “说明式”改造。用 istream_line_reader 可以简化 count_file 成: int count_file (const char* name) int count = 0; ifstream ifs(name); for (auto line : istream_line_reader(ifs)) {

文档评论(0)

1亿VIP精品文档

相关文档