Can reading of N input values be made more elegant with C++20?

后端 未结 0 1153
陌清茗
陌清茗 2020-12-12 03:46

Suppose I want to read n integers from the standard input stream. Reading:

How to read N integers into a vector?

I find the recommended solution is basically:<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题