August 01, 2022 Issues » [Issue 16139] Attributes of functions inside templates should be inferred | |||
|---|---|---|---|
| |||
...confirming a report on the chat room:
```
template A() {
void foo() { }
auto bar() { }
}
static assert... | |||
August 01, 2022 Learn » A look inside "filter" function defintion | |||
|---|---|---|---|
| |||
...I'm guessing how it works? '''D template filter(alias predicate) if (is(typeof(unaryFun... | |||
August 01, 2022 Learn » Re: Exclamation symbol "!" within functions syntax | |||
|---|---|---|---|
| |||
...marked with the keyword "alias":
template filter(alias predicate)
Alias template parameters are special. They... | |||
August 01, 2022 Issues » [Issue 23279] Segmentation fault on mixin template + using unknown type | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23279 --- Comment #2 from Marcelo Silva Nascimento... | |||
August 01, 2022 Issues » [Issue 23279] Segmentation fault on mixin template + using unknown type | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23279 Marcelo Silva Nascimento Mancini <msnmancini@hotmail... | |||
August 01, 2022 Issues » [Issue 23279] Segmentation fault on mixin template + using unknown type | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23279 --- Comment #1 from Marcelo Silva Nascimento... | |||
August 01, 2022 Issues » [Issue 23279] New: Segmentation fault on mixin template + using unknown type | |||
|---|---|---|---|
| |||
...template getParams (alias fn)
{
static if ( is(typeof(fn) params == __parameters) )
alias getParams = params;
}
template... | |||
July 31, 2022 Issues » [Issue 23278] New: Can't pass alias member to a function | |||
|---|---|---|---|
| |||
...typeof(oops), oops.stringof)` would work. Mixin template does not have this limitation, so, I... | |||
July 31, 2022 Learn » How to check if a class has a specific overload for member x? | |||
|---|---|---|---|
| |||
...wish to generate some functions using mixin template and I wish to check if the... | |||
July 31, 2022 Issues » [Issue 23277] alias to mixin template breaks selective overriding of mixin template member | |||
|---|---|---|---|
| |||
...A {
void foo();
void foo(int);
}
mixin template C() {
void foo(){ return impl.foo(); }
void... | |||
Copyright © 1999-2021 by the D Language Foundation