September 01 Learn » Adding a partial specialization of std.conv.to for Typedef!string | |||
|---|---|---|---|
| |||
...std.typecons;
alias vstring = Typedef!string;
void main ()
{
import std.stdio;
import std.conv;
auto... | |||
September 01 Issues » [Issue 24736] New: core.atomic is not work with struct that has template parameter list and function pointer (-preview=all) | |||
|---|---|---|---|
| |||
...s.vars[i].atomicStore(e.atomicLoad());
}
}
}
void main()
{
auto a = new A;
a.fn(1... | |||
September 01 Issues » [Issue 11704] std.conv.to fails from string to std.typecons.Typedef | |||
|---|---|---|---|
| |||
...vogtner.de> ---
Same error opposite direction:
void main ()
{
import std.typecons;
import std.conv;
alias... | |||
August 31 Learn » Re: Associative Array, get value instead of poiter using `if (auto ..)`, possible? | |||
|---|---|---|---|
| |||
Is that functionally different from
```
void main()
{
import std.stdio;
int[string] test = ["hello": 42... | |||
August 31 DIP Ideas » takeBack() implementation in std.range for OutputRanges | |||
|---|---|---|---|
| |||
...length - n;
return range.drop(diff);
}
void main()
{
import std.stdio : writeln;
auto r = 1000... | |||
August 31 Learn » Re: Associative Array, get value instead of poiter using `if (auto ..)`, possible? | |||
|---|---|---|---|
| |||
...ptr);
else
return Nullable!V.init;
}
void main()
{
import std.stdio;
int[string] test = ["hello... | |||
August 31 Learn » Associative Array, get value instead of poiter using `if (auto ..)`, possible? | |||
|---|---|---|---|
| |||
```D
void main()
{
int[string] test;
test["hello"] = 42;
if (auto it = "hello" in test... | |||
August 31 Issues » [Issue 24735] Enum is not work within the member function in the synchronized class | |||
|---|---|---|---|
| |||
...is constant.
auto b = ENUM2; // OK
}
}
void main()
{
auto a = new shared(A);
a.f... | |||
August 31 General » Re: This needs to be fixed - ref | |||
|---|---|---|---|
| |||
...int x;
alias expand=Seq!x;
}
void main(){
S s;
pragma(msg,__traits(isRef,s... | |||
August 31 Issues » [Issue 24735] New: Enum is not work within the member function in the synchronized class | |||
|---|---|---|---|
| |||
...ENUM1; // OK
auto d = ENUM2; // OK
}
}
void main()
{
A a = new A;
a.f();
A... | |||
Copyright © 1999-2021 by the D Language Foundation