February 05, 2024 Learn » Re: How to unpack a tuple into multiple variables? | |||
|---|---|---|---|
| |||
...In those posts you can find other "solutions", Tuple DIP description and other useful ideas. | |||
February 05, 2024 Learn » Re: How to unpack a tuple into multiple variables? | |||
|---|---|---|---|
| |||
...meta;
alias put = AliasSeq;
auto foo() { return tuple(1, 2, 3); }
int main(string[] args... | |||
February 05, 2024 Learn » How to unpack a tuple into multiple variables? | |||
|---|---|---|---|
| |||
...tuple my_tuple = (2010, 10, 2, 11, 4, 0, 2, 41, 0) # Unpack the tuple... | |||
February 03, 2024 General » Re: Phobos 3 Discussion Notes - 02-01-2024 | |||
|---|---|---|---|
| |||
Oh, and Exception Handling? Get in native tuple and tagged union in the language, and... | |||
February 02, 2024 Learn » Re: Scripting with Variant from std.variant: parameter passing | |||
|---|---|---|---|
| |||
...auto ref Args args)
{
import std.typecons: tuple;
import core.lifetime: forward;
import std.meta... | |||
January 19, 2024 General » Re: I approved DIP1036e | |||
|---|---|---|---|
| |||
...in particular, it was incapable of handling tuple arguments, which includes nested strings, because they... | |||
January 17, 2024 General » Re: I approved DIP1036e | |||
|---|---|---|---|
| |||
...about wich is better Do this with tuple, pattern matching, and tagged union, so people... | |||
January 15, 2024 General » Re: Tuples, CTFE, and Sliding Template Arguments | |||
|---|---|---|---|
| |||
...here? Ok. But how do you handle tuple arguments and nested interpolations? It does not... | |||
January 14, 2024 General » Re: Tuples, CTFE, and Sliding Template Arguments | |||
|---|---|---|---|
| |||
...to `Format`, doing proper escaping of %, handling tuple arguments, handling nested interpolations, etc. The draft... | |||
January 14, 2024 General » Yet another terrible compile time argument proposal | |||
|---|---|---|---|
| |||
...compile-time information passed via a string interpolation tuple, like it is for DIP1036e. -Steve | |||
Copyright © 1999-2021 by the D Language Foundation