Does basic_filebuf's move constructor potentially leak file handle?

前端 未结 0 1264
迷失自我
迷失自我 2020-12-13 21:09

It appears that basic_filebuf\'s move constructor does not close the target of move. cppreference\'s description reads

Move-constructs a std::basic_fileb

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