std::experimental::filesystem::recursive_directory_iterator:: recursion_pending
From cppreference.net
<
cpp
|
experimental
|
fs
|
recursive directory iterator
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
Filesystem library
| Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
recursive_directory_iterator
| Member functions | ||||
|
recursive_directory_iterator::recursion_pending
|
||||
| Non-member functions | ||||
|
bool
recursion_pending
(
)
const
;
|
(文件系统 TS) | |
如果下一次递增将导致当前由 * this 引用的目录被迭代进入,则返回 true 。
该函数在构造或递增后立即返回 true 。可通过 disable_recursion_pending() 禁用递归操作。
参数
(无)
返回值
true 表示下一次递增将迭代到当前引用的目录, false 则表示不会。
异常
不抛出任何异常。