On 9/30/12, jerro <[email protected]> wrote:I think this should work:template returnsRef(alias f) { enum bool returnsRef = is(typeof( { ParameterTypeTuple!f param; auto ptr = &f(param); })); }Yep. We should add this to Phobos imo.
Was pull request fired for this? I'd like to subscribe to get noticed when this will be in the phobos. If not, would you mind if I add one?
