std::experimental::filesystem::recursive_directory_iterator:: operator++, increment
| 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 |
| Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
recursive_directory_iterator::increment
recursive_directory_iterator::operator++
|
||||
| Non-member functions | ||||
|
recursive_directory_iterator
&
operator
++
(
)
;
|
(filesystem TS) | |
|
recursive_directory_iterator
&
increment
(
error_code
&
ec
)
;
|
(filesystem TS) | |
イテレータを次のエントリに進めます。
現在反復中のディレクトリにこれ以上エントリが存在しない場合、親ディレクトリに対する反復が再開されます。親ディレクトリに反復可能な兄弟エントリが存在しない場合、このプロセスが繰り返されます。再帰的に反復されたディレクトリ階層の親に到達した場合( depth ( ) == 0 ) において候補エントリが存在しない場合)、 * this は終端イテレータに設定されます。
それ以外の場合、 * this がディレクトリを参照している場合、以下の条件が満たされるときに反復処理が行われます:
- disable_recursion_pending() がこのインクリメントの前に呼び出されていない、すなわち recursion_pending ( ) == true である。
- ディレクトリがシンボリックリンクではない、またはシンボリックリンクの追跡が有効になっている、すなわち
-
!
is_symlink
(
this
-
>
symlink_status
(
)
)
||
( options ( ) & directory_options :: follow_directory_symlink ) ! = 0 ) .
パラメータ
| ec | - | エラー状態を格納するエラーコード |
戻り値
* this