std::experimental::filesystem::directory_iterator::operator*,operator->

来自cppreference.com
 
 
 
 
const directory_entry& operator*() const;

       

const directory_entry* operator->() const;
(文件系统 TS)

访问所指向的 directory_entry

尾迭代器上 operator*operator-> 的结果是未定义行为。

目录

[编辑] 参数

(无)

[编辑] 返回值

1) 此迭代器所指代的 directory_entry 的值。
2) 指向此迭代器所指代的 directory_entry 的指针。

[编辑] 异常

可能会抛出由实现定义的异常。

[编辑] 参阅

访问所指向的目录项
(std::experimental::filesystem::recursive_directory_iterator 的公开成员函数) [编辑]