May 11, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...ll add: - `sizeof(T[0]) == 0`, but `sizeof(Tuple!()) == 1`. I'm not sure why. | |||
May 11, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...also have `[int, string]` be a tuple type. - Tuple indices (presumably should) need to be... | |||
May 10, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...by index, otherwise unstructured. What is a `Tuple!(T, T)`? Something that contains two `T... | |||
May 10, 2023 Issues » [Issue 23844] chain(only) doesn't support immutable structs | |||
|---|---|---|---|
| |||
...not `const`. Solved by creating a separate tuple of `Rebindable` ranges for this case. https... | |||
May 07, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...already has some tuple support [2]: in particular a single-element tuple is indicated with... | |||
May 07, 2023 Issues » [Issue 23901] Spurious "Cannot move object [...] with internal pointer" | |||
|---|---|---|---|
| |||
...tuple(test.functor5!(bool).functor5(bool).Functor, test.functor3(int*).Functor).Tuple).functor10(test.tuple... | |||
May 06, 2023 Issues » [Issue 23901] New: Spurious "Cannot move object [...] with internal pointer" | |||
|---|---|---|---|
| |||
...return cond;
}
auto tuple(Values...)(Values values)
{
struct Tuple
{
Values values;
}
return Tuple(values);
}
auto... | |||
May 06, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...at all. With parentheses for tuple syntax, the 1-tuple for *values* must be expressed... | |||
May 05, 2023 General » Re: D needs a type expression syntax | |||
|---|---|---|---|
| |||
...allow semantically-invalid types like `ref(int)[]` and `Tuple!(ref(int), ref(int))` to parse. | |||
May 04, 2023 Issues » [Issue 23882] New: ICE (segfault) on nasty alias this code | |||
|---|---|---|---|
| |||
...loughran.colvin@gmail.com
struct G(H)
{
Tuple!(R) S;
}
struct BB(H)
{
H* YC... | |||
Copyright © 1999-2021 by the D Language Foundation