std.concurrency.generator.this - multiple declarations
- Function Generator.this
- Function Generator.this
- Function Generator.this
- Function Generator.this
Function Generator.this
Initializes a generator object which is associated with a static
D function. The function will be called once to prepare the range
for iteration.
Prototype
this( void function() fn );
Parameters
| Name | Description |
|---|---|
| fn | The fiber function. |
In
fn must not be null.
Function Generator.this
Initializes a generator object which is associated with a static
D function. The function will be called once to prepare the range
for iteration.
Prototype
this( void function() fn, size_t sz );
Parameters
| Name | Description |
|---|---|
| fn | The fiber function. |
| sz | The stack size for this fiber. |
In
fn must not be null.
Function Generator.this
Initializes a generator object which is associated with a dynamic
D function. The function will be called once to prepare the range
for iteration.
Prototype
this( void delegate() dg );
Parameters
| Name | Description |
|---|---|
| dg | The fiber function. |
In
dg must not be null.
Function Generator.this
Initializes a generator object which is associated with a dynamic
D function. The function will be called once to prepare the range
for iteration.
Prototype
this( void delegate() dg, size_t sz );
Parameters
| Name | Description |
|---|---|
| dg | The fiber function. |
| sz | The stack size for this fiber. |
In
dg must not be null.
Authors
Sean Kelly, Alex Rønne Petersen, Martin Nowak