January 03, 2023 Learn » Re: Is there a way to enforce UFCS? | |||
|---|---|---|---|
| |||
...value) {
*ptr = value;
}
void toString(scope void delegate(in char[]) sink) const {
sink(*ptr);
}
}
// This... | |||
January 02, 2023 Learn » Re: Handling CheckBox state changes in DLangUI | |||
|---|---|---|---|
| |||
...address of it should result in a delegate, not a function pointer. You can check... | |||
December 31, 2022 Learn » Handling CheckBox state changes in DLangUI | |||
|---|---|---|---|
| |||
...checkChange = delegate(Widget w, bool checked) {
g_x=checked;
return true;
};
check_b.checkChange = delegate... | |||
December 30, 2022 Issues » [Issue 23587] cast(void) doesn't work for noreturn | |||
|---|---|---|---|
| |||
...and I don't want to do that every time I call a template delegate. -- | |||
December 29, 2022 Issues » [Issue 15952] [REG 2.053] struct in closure is destroyed when parent function returns | |||
|---|---|---|---|
| |||
...org> --- In both cases, there's a delegate function that references a field of the... | |||
December 25, 2022 Learn » Vibe.d MongoDB database connection | |||
|---|---|---|---|
| |||
...void delegate(long, vibe.db.mongo.flags.ReplyFlags, int, int) @safe, scope void delegate(ulong... | |||
December 25, 2022 General » Re: templated toString and class inheritance | |||
|---|---|---|---|
| |||
...T obj, ref W writer, scope void delegate() origDG = null) if (isOutputRange!(W, char)) {
if... | |||
December 22, 2022 Learn » Re: /usr/bin/ld: [...] undefined reference to _D3std6format6internal6write... | |||
|---|---|---|---|
| |||
...void delegate(scope const(char)[]) pure nothrow @safe, ulong, char).formatValueImpl(ref void delegate(scope... | |||
December 19, 2022 General » Re: Actual immutability enforcement by placing immutable data into read-only sections | |||
|---|---|---|---|
| |||
...C) int function(char[][])*).tryExec(scope void delegate()) (in /usr/lib64/libphobos2.so.0.99... | |||
December 19, 2022 Issues » [Issue 3326] $ cannot be used in delegate literals | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=3326 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
Copyright © 1999-2021 by the D Language Foundation