May 23, 2022 Learn » Re: Allocate a string via the GC | |||
|---|---|---|---|
| |||
...for strings in d. string is an alias for immutable(char)[]. So, you can do... | |||
May 21, 2022 Issues » [Issue 23133] New: Timon's list of enhancement requests | |||
|---|---|---|---|
| |||
...is inconsistent between declaration and call site - alias this (it uses lookup rules different from... | |||
May 20, 2022 Issues » [Issue 23082] stringof of template alias overloaded with function accessed by trait: segfault. | |||
|---|---|---|---|
| |||
...14149 "Fix Issue 23082 - stringof of template alias overloaded with function accessed by trait: segfault... | |||
May 20, 2022 Issues » [Issue 23082] stringof of template alias overloaded with function accessed by trait: segfault. | |||
|---|---|---|---|
| |||
...14149 "Fix Issue 23082 - stringof of template alias overloaded with function accessed by trait: segfault... | |||
May 18, 2022 Learn » Re: Question on shapes | |||
|---|---|---|---|
| |||
...width %s and height %s."(width,height));
}
}
alias Shape = SumType!(Circle,Rectangle);
void main() {
Shape... | |||
May 17, 2022 Issues » [Issue 23117] crash in @safe code after CTFE | |||
|---|---|---|---|
| |||
...main()
{
assert(crash.front == 10);
}
struct Map(alias f)
{
int front() { return f(); }
}
auto foo... | |||
May 17, 2022 Issues » [Issue 23117] crash in @safe code after CTFE | |||
|---|---|---|---|
| |||
...assert(crash.front.front == 10);
}
struct Map(alias f)
{
int[] range;
auto front() { return f... | |||
May 16, 2022 Issues » [Issue 23116] foreach with opApply infer ref when opApply delegate is templated | |||
|---|---|---|---|
| |||
...scope Dg dg)
{
enum attrs = functionAttributes!Dg;
alias nonRefDg = SetFunctionAttributes!(int delegate(ubyte),
functionLinkage!Dg... | |||
May 16, 2022 Issues » [Issue 23115] New: [REG 2.100] AssertError@src/dmd/dtemplate.d(7397): can only re-append from non-root to root module | |||
|---|---|---|---|
| |||
...ice.d
module ice;
import imports.icecommon;
alias AliasSeq(T) = T;
struct Struct(T)
{
AliasSeq... | |||
May 16, 2022 Issues » [Issue 23112] code passes @nogc, allocates anyway | |||
|---|---|---|---|
| |||
...the test modified a
bit:
```
struct Forward(alias F)
{
auto call()()
{
return F();
}
}
auto bar... | |||
Copyright © 1999-2021 by the D Language Foundation