What does ifstream::rdbuf() actually do?

前端 未结 3 1449
不知归路
不知归路 2020-12-06 04:45

I have the following code and it works pretty good (other than the fact that it\'s pretty slow, but I don\'t care much about that). It doesn\'t seem intuitive that this woul

3条回答
  •  不知归路
    2020-12-06 05:22

    A quick look at the source code shows that basic_ofstream is the wrapper around basic_filebuf.

提交回复
热议问题