Address of return value.

monarch_dodra monarchdodra at gmail.com
Tue Dec 11 07:38:37 PST 2012


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?


More information about the Digitalmars-d-learn mailing list