Address of return value.
    monarch_dodra 
    monarchdodra at gmail.com
       
    Tue Dec 11 08:58:41 PST 2012
    
    
  
On Tuesday, 11 December 2012 at 16:45:54 UTC, cal wrote:
> On Tuesday, 11 December 2012 at 15:38:38 UTC, monarch_dodra 
> wrote:
>> On Tuesday, 11 December 2012 at 14:57:27 UTC, monarch_dodra 
>> wrote:
>>> :/
>>
>> I got it to work with a cast, which removes the ambiguity:
>>
>> auto p = &cast(int)s.front;
>>
>> But it feels hackish. Any other way?
>
> auto p = &(s.front());
>
> Not sure if this is intended though, maybe some property 
> weirdness?
Strange, I was *sure* I had tried that.
Oh, well. Thanks :)
    
    
More information about the Digitalmars-d-learn
mailing list