英語版
このページの英語版を見る

rt.aApplyR

このコードはforeach_reverse ループのためにUTF文字列のデコードを処理する。
Authors:
Walter Bright, Sean Kelly

ソース rt/aApplyR.d

alias dg_t = int delegate(void* c);
変換されたループ本体に対応するデリゲート型
パラメータは、現在のcharwchar またはdchar
Returns:
break 、ゼロでない。
int _aApplyRcd1(scope const(char)[] aa, dg_t dg);

int _aApplyRwd1(scope const(wchar)[] aa, dg_t dg);

int _aApplyRcw1(scope const(char)[] aa, dg_t dg);

int _aApplyRwc1(scope const(wchar)[] aa, dg_t dg);

int _aApplyRdc1(scope const(dchar)[] aa, dg_t dg);

int _aApplyRdw1(scope const(dchar)[] aa, dg_t dg);
_aApplyXXX "関数"と同じである。foreach_reverse
Parameters:
const(char)[] aa 入力文字列
dg_t dg foreach本体がデリゲートに変換される。opApply
Returns:
ループがbreak
alias dg2_t = int delegate(void* i, void* c);
変換されたループ本体に対応するデリゲート型
パラメータは、size_t ループインデックスへのポインタと、現在のcharwchardchar
Returns:
break 文がヒットした場合は非ゼロ。
int _aApplyRcd2(scope const(char)[] aa, dg2_t dg);

int _aApplyRwd2(scope const(wchar)[] aa, dg2_t dg);

int _aApplyRcw2(scope const(char)[] aa, dg2_t dg);

int _aApplyRwc2(scope const(wchar)[] aa, dg2_t dg);

int _aApplyRdc2(scope const(dchar)[] aa, dg2_t dg);

int _aApplyRdw2(scope const(dchar)[] aa, dg2_t dg);
ループインデックスを含むaApplyRXXXのバリエーション。