我想得到一个istream_iterator样式的迭代器,它将文件的每一行作为字符串而不是每个单词返回.这可能吗?
c++ iterator newline file line
c++ ×1
file ×1
iterator ×1
line ×1
newline ×1