November 26 Learn » Re: only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
In this case the specific limitation getting in the way is that you cannot pass... | |||
November 26 Learn » Re: only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
...just be allowed to be returned when parameters are not inout. The equivalent would just... | |||
November 25 Learn » Re: only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
Yeah, dealing with inout in templated code is surprisingly annoying. There are cases where it... | |||
November 25 Learn » Re: only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
I see you reported it. Thank you. https://issues.dlang.org/show_bug.cgi?id... | |||
November 25 Issues » [Issue 24880] New: to!string with inout enum argument fails to compile | |||
|---|---|---|---|
| |||
...1227): Error: variable `std.conv.value` - only parameters or stack-based variables can be `inout... | |||
November 25 Learn » Re: only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
Yes, this is a bug. Because of the weird restrictions on `inout`, it's very... | |||
November 25 Learn » only parameters or stack-based variables can be `inout` | |||
|---|---|---|---|
| |||
...E) e)
{
//writeln(e.to!string); // only parameters or stack-based variables can be `inout... | |||
November 21 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...some C APIs. GLib uses const void* parameters (aliased as gconstpointer) here: https://docs.gtk... | |||
November 21 Issues » [Issue 24793] Allow implicit conversion of const pointers to void* | |||
|---|---|---|---|
| |||
...void* would render the const on the parameters of such a function pointless. And while... | |||
November 21 DIP Development » Re: __rvalue and Move Semantics first draft - aliasing problem/danger | |||
|---|---|---|---|
| |||
Well, aliasing between `ref` parameters is an expected thing that can occur. Backends and users... | |||
Copyright © 1999-2021 by the D Language Foundation