January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
...copy without forwarding: ```d import std.typecons : Tuple; import std.meta : allSatisfy; enum bool isRcPtr... | |||
January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
I want implement something like this: ```d import std.stdio : writeln; import std.meta : AliasSeq... | |||
January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
...vit wrote: > Why local variable of type tuple call destructors immediately after > initialization? I don... | |||
January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
Thanks, Why local variable of type tuple call destructors immediately after initialization? ```d import std... | |||
January 22, 2022 Learn » Re: forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
...variables will be a copy of the tuple. forward only actually works if sent *directly... | |||
January 22, 2022 Learn » forward tuple arg to local variable + dtor | |||
|---|---|---|---|
| |||
Hello, Why is tuple variable `params` immediately destructed after its construction? Why is `check(-2... | |||
January 22, 2022 Learn » Re: automate tuple creation | |||
|---|---|---|---|
| |||
It just worked, so i didn't think about it too much.. but it seems... | |||
January 22, 2022 Learn » Re: automate tuple creation | |||
|---|---|---|---|
| |||
so I why watching this video by Andrei: https://www.youtube.com/watch?v=mCrVYYlFTrA... | |||
January 21, 2022 Learn » Re: automate tuple creation | |||
|---|---|---|---|
| |||
oof! use enums for compile-time strings ;) ```d enum iotaValues = "iota(..."; ``` Not sure I agree... | |||
January 21, 2022 Learn » Re: automate tuple creation | |||
|---|---|---|---|
| |||
I really like how alias and mixin can simplify my code even further: //--- int[][int... | |||
Copyright © 1999-2021 by the D Language Foundation