July 25 DIP Ideas » Re: Explicit this for methods | |||
|---|---|---|---|
| |||
...int i) $(q);
abstract void test3(string str) $(q);
}.text);
}
```
```d
class C(bool const... | |||
July 23 DIP Ideas » Re: Explicit this for methods | |||
|---|---|---|---|
| |||
...i);}
abstract void test3(string str)const{test3_impl(this, str);}
}
else{
abstract void test1... | |||
July 23 DIP Ideas » Explicit this for methods | |||
|---|---|---|---|
| |||
...foo(int i); abstract void foo(string str); } alias FooThis = const(C); //can be conditionaly... | |||
July 22 General » Re: Better SDLang | |||
|---|---|---|---|
| |||
...name = dubFile["name"].str;
foreach(e; dubFile["versions"].array)
{
if (e.str == "flobber")
result.flobber... | |||
July 03 Learn » Re: Why does this mixin fail to compile? | |||
|---|---|---|---|
| |||
...void append(string str)
{
buffer[pos .. pos + str.length] = str[];
pos += str.length;
}
append("void... | |||
July 01 Learn » Re: Why does this mixin fail to compile? | |||
|---|---|---|---|
| |||
...mixin template implement()
{
mixin("struct " ~ str);
mixin("{");
immutable string str = "T";
mixin("}");
}
```
It's not... | |||
July 01 Learn » Re: Why does this mixin fail to compile? | |||
|---|---|---|---|
| |||
...void append(string str)
{
buffer[pos .. pos + str.length] = str[];
pos += str.length;
}
append("void... | |||
June 27 General » Re: Lesson #100 in DLang YouTube playlist is coming -- Want to contribute what goes in? | |||
|---|---|---|---|
| |||
...string name;
Person friend;
this(string str) {
this.name = str;
allPeople[name] = this;
}
@Proxy:
Person... | |||
June 24 Issues » [Issue 17953] inout-like mechanism to infer function attributes from callback attributes | |||
|---|---|---|---|
| |||
...safe
{
import std.stdio;
f((string str) { writeln(str); return 0; });
}
```
For opApply, for some... | |||
June 04 Announce » Re: LDC 1.39.0-beta1 | |||
|---|---|---|---|
| |||
...void @__assert_fail(ptr @.str, ptr @.str.8, i32 8860, ptr @.str.24) #2, !dbg... | |||
Copyright © 1999-2021 by the D Language Foundation