[Issue 19097] Extend Return Scope Semantics
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Oct 24 22:33:03 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=19097
| <dhasenan at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhasenan at gmail.com
--- Comment #11 from | <dhasenan at gmail.com> ---
@safe void betty(bool b, ref scope int* r, return scope int* p)
{
  if (b) r = p;
}
betty("", q, &i);
This is not going to work, I take it? Is that desirable?
--
    
    
More information about the Digitalmars-d-bugs
mailing list