March 14, 2021 Issues » [Issue 21713] New: Cannot write trusted desstructor with @system member dtor | |||
|---|---|---|---|
| |||
...this() {}
}
@safe:
struct Bar
{
Foo f;
~this() @trusted {}
}
@safe:
void main()
{
Bar b;
}
---
It should... | |||
March 10, 2021 Issues » [Issue 21697] Absurd limitations when passing lambda as alias parameter and bad error message | |||
|---|---|---|---|
| |||
...bar() //@safe
{
foo();
}
void bar2()() //@safe
{
foo();
}
runInsideDirect!bar();
runInsideIndirect!bar();
runOutsideDirect!bar();
runOutsideIndirect!bar... | |||
March 10, 2021 Issues » [Issue 21697] New: Absurd limitations when passing lambda as alias parameter and bad error message | |||
|---|---|---|---|
| |||
...f)() { f(); }
void bar() {
// OK
run!foo();
// OK
void bar() {
foo();
}
run!bar();
// Error
run... | |||
March 06, 2021 General » Re: Feedback Thread: DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1 | |||
|---|---|---|---|
| |||
...one does shared<T> t = ...; foo(t); bar(t); Then the call to foo will... | |||
March 06, 2021 Issues » [Issue 21681] Can't deduce recursive template function attributes | |||
|---|---|---|---|
| |||
...call @system function onlineapp.bar!().bar onlineapp.d(7): onlineapp.bar!().bar is declared here... | |||
March 06, 2021 Issues » [Issue 21681] New: Can't deduce recursive template function attributes | |||
|---|---|---|---|
| |||
...system function onlineapp.bar!(S).bar onlineapp.d(8): onlineapp.bar!(S).bar is declared... | |||
March 05, 2021 Announce » Re: Visual D 1.1.0 released | |||
|---|---|---|---|
| |||
...has solved this by having a search bar, I don't know if that would... | |||
March 03, 2021 General » Re: Pop quiz, what does this do? | |||
|---|---|---|---|
| |||
...produce anything in the tuple.
Try this one:
interface I
{
int foo();
int bar();
}
-Steve | |||
February 27, 2021 General » Re: is there a reason declarative style if are allowed, but not while ? | |||
|---|---|---|---|
| |||
...const(S) bar();
int main(string[] args)
{
for (const S foo; (foo = bar());) { }
}
```
forauto.d... | |||
February 27, 2021 General » Re: is there a reason declarative style if are allowed, but not while ? | |||
|---|---|---|---|
| |||
for (T foo; foo = bar();) { ... } | |||
Copyright © 1999-2021 by the D Language Foundation