Share via


basic_recursive_directory_iterator::operator= Operator

Stores the file name and status of the specified object.

basic_recursive_directory_iterator& operator=(
   basic_recursive_directory_iterator&& Right
);
 basic_recursive_directory_iterator& operator=(
   const basic_recursive_directory_iterator& Right
);

Parameters

  • Right
    A basic_recursive_directory_iterator object.

Return Value

*this

Remarks

The first operator move-assigns Right.

The second operator copy-assigns Right.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

basic_recursive_directory_iterator Class

<filesystem>