February 25, 2023 Issues » [Issue 23740] New: Alias breaks valid array operation code using operator overloading | |||
|---|---|---|---|
| |||
...alias is removed, this code compiles and functions properly:
struct Vec{
int[2] list;
alias... | |||
February 25, 2023 Learn » Re: Template alias parameter: error: need 'this' for ... | |||
|---|---|---|---|
| |||
It was marked duplicate. I read the comments to the previous issue and felt like... | |||
February 24, 2023 Issues » [Issue 23738] A function accepting an alias of a type member requires static | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23738 Paul Backus <snarwin+bugzilla@gmail.com... | |||
February 24, 2023 Issues » [Issue 17435] bogus "need 'this'" error with aggregate field passed in alias parameter | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=17435 Paul Backus <snarwin+bugzilla@gmail.com... | |||
February 24, 2023 Learn » Re: Template alias parameter: error: need 'this' for ... | |||
|---|---|---|---|
| |||
Unfortunately there is a serious bug in this code. Take a look at what happens... | |||
February 24, 2023 Learn » Re: Template alias parameter: error: need 'this' for ... | |||
|---|---|---|---|
| |||
`static` should not affect module-level functions, but also, this code should work without `static... | |||
February 24, 2023 Issues » [Issue 23738] New: A function accepting an alias of a type member requires static | |||
|---|---|---|---|
| |||
...int t;
}
static void foo(alias F)()
{
}
void bar(alias F)()
{
}
void main()
{
foo!(S... | |||
February 24, 2023 Learn » Re: Template alias parameter: error: need 'this' for ... | |||
|---|---|---|---|
| |||
...Bar
{
@("hello") int t;
}
static bool hasAttribute(alias F, T)()
{
static foreach (a; __traits(getAttributes... | |||
February 24, 2023 Issues » [Issue 23733] Can't use template type parameter as type of alias parameter | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23733 Paul Backus <snarwin+bugzilla@gmail.com... | |||
February 24, 2023 Issues » [Issue 23733] Can't use template type parameter as type of alias parameter | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23733 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
Copyright © 1999-2021 by the D Language Foundation