[Issue 9983] inout type can not be used as a parameter for structure template

2018-08-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9983 anonymous4 changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 9983] inout type can not be used as a parameter for structure template

2018-03-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9983 Steven Schveighoffer changed: What|Removed |Added CC|

[Issue 9983] inout type can not be used as a parameter for structure template

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9983 --- Comment #1 from anonymous4 --- Looks like it can be solved by smart enough container constructors. See this quick PoC: --- struct Container(T) { T value; inout(T) get() inout {

[Issue 9983] inout type can not be used as a parameter for structure template

2018-03-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9983 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu