March 14 Learn » Re: How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...auto tuple(T...)(T t){
struct tuple{
T me; alias me this;
}
return tuple(t... | |||
March 13 Learn » How to make a struct containing an associative array to deeply copy (for repeated usage in foreach) ? | |||
|---|---|---|---|
| |||
...dct.empty;
}
@property ref auto front() {
return tuple(dct.keys[0], dct[dct.keys[0... | |||
March 13 Learn » Re: Challenge: Make a data type for holding one of 8 directions allowing increment and overflow | |||
|---|---|---|---|
| |||
...members of an enumeration. It generates a tuple containing all the enumeration values, which can... | |||
March 07 DIP Ideas » Re: Standardize base types for metaprogramming | |||
|---|---|---|---|
| |||
...auto args_=tuple(args[1],args[0],args[2..$]);
} else {
auto args_=tuple(args,int... | |||
March 06 Issues » [Issue 24430] New: Nested Recursive SumType ICE and destructor issue | |||
|---|---|---|---|
| |||
...int, Tuple!(int,This)[]) value;
SumType!(int, Tuple!(int,X)*) value;
SumType!(int, Tuple!(int... | |||
February 28 General » Re: What ever happened to move semantics? | |||
|---|---|---|---|
| |||
...required for that atm. The move hole is also an issue for tuple unpacking though. | |||
February 17, 2024 General » Re: A proposal: Sumtypes | |||
|---|---|---|---|
| |||
...same values, you're making it the tuple of sumtypes. If the user wants to... | |||
February 16, 2024 General » Re: A proposal: Sumtypes | |||
|---|---|---|---|
| |||
...another tuple: `Tuple(int, int, char, char)` can be initialised with `tuple(5, tuple(10... | |||
February 16, 2024 General » Re: Thoughts on Backward Compatibility | |||
|---|---|---|---|
| |||
...areas - no switch as expression - no native tuple - no tagged union - no static array length... | |||
February 12, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
...std.format in its entirety - std.typecons.Tuple - std.array.Appender - etc. From how widespread... | |||
Copyright © 1999-2021 by the D Language Foundation