April 09, 2021 General » Re: Finding the best auto completion sorting | |||
|---|---|---|---|
| |||
...it aware of the context: long foo = bar. If auto completion is triggered at the... | |||
April 08, 2021 Issues » [Issue 17146] Internal error: tk.c 266 with -O -inline | |||
|---|---|---|---|
| |||
...a; int b; }
void foo() {
S[] s;
if (s[$-1] == S.init) {}
}
void bar() { foo(); }
-- | |||
April 07, 2021 Issues » [Issue 21806] Overload selection ignores slice | |||
|---|---|---|---|
| |||
...that using raw functions: char bar(ubyte[] array); int bar(ubyte[16] array); is also... | |||
April 07, 2021 Issues » [Issue 21806] Overload selection ignores slice | |||
|---|---|---|---|
| |||
...create temp variable à-la auto tmp = arr[]; bar(tmp); then correct overload is used -- | |||
April 07, 2021 Issues » [Issue 21806] New: Overload selection ignores slice | |||
|---|---|---|---|
| |||
...arr[].bar));
arr[].bar.writeln; // 123
}
char bar()(in ubyte[] arr)
{
return 'X';
}
int bar... | |||
April 06, 2021 Issues » [Issue 21802] opAssign and opOpAssign treat lazy void parameters inconsistently | |||
|---|---|---|---|
| |||
...bar(int x) { }
void main () {
A a = new A;
a ~= bar (1); // OK
a = bar... | |||
April 05, 2021 Learn » Re: templated overload of opAssign | |||
|---|---|---|---|
| |||
...If you don't want to modify `bar`, then it looks like this: ```D import... | |||
April 05, 2021 Issues » [Issue 21802] New: opAssign and opOpAssign treat lazy void parameters inconsistently | |||
|---|---|---|---|
| |||
...void bar(int x) { }
void main () {
A a;
a ~= bar (1); // OK
a = bar (1... | |||
April 05, 2021 Learn » Re: templated overload of opAssign | |||
|---|---|---|---|
| |||
...ec; ec.opOpAssign!"+" (bar (1)); // okay ec += bar (1); // okay ec ~= bar (1); // okay ec... | |||
April 04, 2021 Learn » Re: templated overload of opAssign | |||
|---|---|---|---|
| |||
...Exception { this (string s) { super (s); } }
auto bar (int i) {
return () {
if (i == 1)
throw... | |||
Copyright © 1999-2021 by the D Language Foundation