January 21, 2024 Learn » Re: Delegates and values captured inside loops | |||
|---|---|---|---|
| |||
...import std.stdio;
void main()
{
auto names = [ "foo", "bar", "baz" ];
void delegate(int)[] dgs;
string... | |||
January 20, 2024 Learn » Re: Delegates and values captured inside loops | |||
|---|---|---|---|
| |||
...import std.stdio;
void main()
{
auto names = [ "foo", "bar", "baz" ];
void delegate()[] dgs;
foreach (name... | |||
January 20, 2024 Learn » Delegates and values captured inside loops | |||
|---|---|---|---|
| |||
...import std.stdio;
void main()
{
auto names = [ "foo", "bar", "baz" ];
void delegate()[] dgs;
foreach (name... | |||
January 16, 2024 Learn » Re: Understanding the Use of Nested Import and Selective Import in D | |||
|---|---|---|---|
| |||
...your code, the code inside of it may...do stuff like auto foo(imported!"std.datetime... | |||
January 16, 2024 Learn » Nested delegates and closure allocations | |||
|---|---|---|---|
| |||
...partition code.
```d
void foo(Thing thing)
{
void...immutable, may be modified inside `sendThing`; any combination... | |||
January 12, 2024 General » Re: Compile Time vs Run Time | |||
|---|---|---|---|
| |||
...foo set bag = ${d_variable_bag}`
But to attach sanitise functionalities in what is inside... | |||
January 11, 2024 General » Re: enum Format | |||
|---|---|---|---|
| |||
...there be `foo`, a function that would like to receive an istring. Inside it, we... | |||
January 08, 2024 General » Re: We are forking D | |||
|---|---|---|---|
| |||
...foo = 2; int bar = 4; writeln(i"$foo...if the only thing inside the expression is... | |||
January 01, 2024 Learn » Re: Synchronisation help | |||
|---|---|---|---|
| |||
...a shared Foo across threads rather than pass the AA from inside Foo. Then you... | |||
January 01, 2024 Learn » Synchronisation help | |||
|---|---|---|---|
| |||
...The worker function can't see `Foo foo` inside `main`, so it can't share... | |||
Copyright © 1999-2021 by the D Language Foundation