std::filesystem::directory_iterator::operator=

 
 
 
 
directory_iterator& operator=(const directory_iterator &other) = default;


directory_iterator& operator=(directory_iterator &&other) = default;
(C++17 起)

对目录迭代器内容赋值。

参数

other - 要赋值的迭代器

返回值

*this

异常