February 24, 2023 Issues » [Issue 23733] Can't use template type parameter as type of alias parameter | |||
|---|---|---|---|
| |||
...https://dlang.org/spec/template.html#typed_alias_op). Although what this bug report is... | |||
February 24, 2023 Learn » Template alias parameter: error: need 'this' for ... | |||
|---|---|---|---|
| |||
...Bar
{
@("hello") int t;
}
static bool hasAttribute(alias F, T)()
{
bool result = false;
foreach (a... | |||
February 24, 2023 Learn » Re: Template + alias + basic type depends on another parameter = broken? | |||
|---|---|---|---|
| |||
I never used really old D compiler, but the error looks reasonable to me. The... | |||
February 23, 2023 General » Why is std.regex slow, well here is one reason! | |||
|---|---|---|---|
| |||
...parseControlCode(Parser)(ref Parser p) {
return 0;
}
}
alias Escapables = AliasSeq!('[', ']', '\\', '^', '$', '.', '|', '?', ',', '-',
';', ':', '#', '&', '%', '/', '<', '>', '`', '*', '+', '(', ')', '{', '}', '~');
struct Stack(T) {
@safe:
T... | |||
February 23, 2023 Issues » [Issue 23729] ignore custom object.d for CTFE needs | |||
|---|---|---|---|
| |||
...0); alias noreturn = typeof(*null); alias string = immutable(char)[]; alias wstring = immutable(wchar)[]; alias dstring... | |||
February 22, 2023 Learn » Re: Template + alias + basic type depends on another parameter = broken? | |||
|---|---|---|---|
| |||
Pretty sure this is just a bug. There are a lot of edge-case bugs... | |||
February 22, 2023 Issues » [Issue 23733] New: Can't use template type parameter as type of alias parameter | |||
|---|---|---|---|
| |||
...to compile:
---
template foo(T, alias T a) {}
int n;
alias _ = foo!(int, n);
---
The... | |||
February 22, 2023 Learn » Template + alias + basic type depends on another parameter = broken? | |||
|---|---|---|---|
| |||
...time`. Small changes:
```d
template Foo(T, alias T[] Array) {
// ...
}
// ...
Bar[] arr;
Foo!(Bar, arr... | |||
February 22, 2023 Issues » [Issue 22269] __traits(isSame) does not work for values passed to template alias parameters | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=22269 Nick Treleaven <nick@geany.org> changed... | |||
February 22, 2023 General » Re: A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project | |||
|---|---|---|---|
| |||
...import core.stdc.string;
alias WSAPOLLFD = pollfd;
alias PWSAPOLLFD = pollfd*;
alias LPWSAPOLLFD = pollfd*;
struct pollfd... | |||
Copyright © 1999-2021 by the D Language Foundation