March 30 Issues » [Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption | |||
|---|---|---|---|
| |||
...Error: non-constant nested delegate literal expression `__lambda2`'):
```
struct ExistenceChecker
{
bool delegate() checkExistenceFn;
}
ExistenceChecker makeExistenceChecker... | |||
March 30 Issues » [Issue 24469] non-constant nested delegate literal expression - Error on delegates causing memory corruption | |||
|---|---|---|---|
| |||
...the bug:
```d
struct ExistenceChecker
{
///Optional.
bool delegate() checkExistenceFn;
}
ExistenceChecker makeExistenceChecker(string gemName)
{
return ExistenceChecker... | |||
March 30 Issues » [Issue 24469] New: non-constant nested delegate literal expression - Error on delegates causing memory corruption | |||
|---|---|---|---|
| |||
...Issue ID: 24469
Summary: non-constant nested delegate literal expression -
Error on delegates causing memory... | |||
March 18 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...argument).
My code:
```d
int opApply(int delegate(Variant) foreachblock) const {
int result = 0;
foreach... | |||
March 18 DIP Development » Re: First Draft: Implicit Conversion of Template Instantiations | |||
|---|---|---|---|
| |||
...d
struct S(+T){
void foo(void delegate(T) callback){}
}
```
The common type of `S... | |||
March 15 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...k];
return newd;
}
void toString(scope void delegate(const(char)[]) sink, FormatSpec!char fmt) {
put... | |||
March 12 Learn » How to use eventcore write an echo server? | |||
|---|---|---|---|
| |||
...type `void delegate(StreamSocketFD, IOStatus status, ulong bytes_read)` to parameter `void delegate(StreamSocketFD, IOStatus... | |||
March 08 Learn » Re: Can a D library have some types determined by the client program? | |||
|---|---|---|---|
| |||
...Or:
```d
class Map {
Tile[] tiles;
Tile delegate(string params) factory;
this() {
factory = (string params... | |||
February 20, 2024 General » Re: Beeflang garbage seeker/collector | |||
|---|---|---|---|
| |||
...run-time systems. So programmers can automatically delegate much in many different ways and have... | |||
February 19, 2024 Genel » Re: Onaltılık Dönüştürme (sadece 9, 7 ve sıfır ile) | |||
|---|---|---|---|
| |||
...saat");
saat.setLabel = "07:10";
pencere.addOnHide( delegate void(Widget çıkış){ Main.quit(); } );
pencere.showAll... | |||
Copyright © 1999-2021 by the D Language Foundation