CppDS.com

C++ 98 11 14 17 20 手册

std::filesystem::directory_iterator::operator=

来自cppreference.com
 
 
 
 
directory_iterator& operator=(const directory_iterator &other) = default;


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

对目录迭代器内容赋值。

参数

other - 要赋值的迭代器

返回值

*this

异常

关闭