Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

rt.aApplyR

This code handles decoding UTF strings forforeach_reverse loops.
License:
Boost License 1.0.
Authors:
Walter Bright, Sean Kelly

Sourcert/aApplyR.d

aliasdg_t = int delegate(void* c);
Delegate type corresponding to transformed loop body
The parameter is a pointer to the currentchar,wchar ordchar
Returns:
non-zero when abreak statement is hit
int_aApplyRcd1(scope const(char)[]aa, dg_tdg);

int_aApplyRwd1(scope const(wchar)[]aa, dg_tdg);

int_aApplyRcw1(scope const(char)[]aa, dg_tdg);

int_aApplyRwc1(scope const(wchar)[]aa, dg_tdg);

int_aApplyRdc1(scope const(dchar)[]aa, dg_tdg);

int_aApplyRdw1(scope const(dchar)[]aa, dg_tdg);
Same as_aApplyXXX functions, but forforeach_reverse
Parameters:
const(char)[]aainput string
dg_tdgforeach body transformed into a delegate, similar toopApply
Returns:
non-zero when the loop was exited through abreak
aliasdg2_t = int delegate(void* i, void* c);
Delegate type corresponding to transformed loop body
Parameters are pointers to asize_t loop index, and the currentchar,wchar ordchar.
Returns:
non-zero when abreak statement is hit
int_aApplyRcd2(scope const(char)[]aa, dg2_tdg);

int_aApplyRwd2(scope const(wchar)[]aa, dg2_tdg);

int_aApplyRcw2(scope const(char)[]aa, dg2_tdg);

int_aApplyRwc2(scope const(wchar)[]aa, dg2_tdg);

int_aApplyRdc2(scope const(dchar)[]aa, dg2_tdg);

int_aApplyRdw2(scope const(dchar)[]aa, dg2_tdg);
Variants of aApplyRXXX that include a loop index.
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Fri Feb 20 00:53:04 2026

[8]ページ先頭

©2009-2026 Movatter.jp