https://issues.dlang.org/show_bug.cgi?id=16390

b2.t...@gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.t...@gmx.com

--- Comment #1 from b2.t...@gmx.com ---
This is really common to use typeof() on the result of a __traits()

template ParentType(T)
{
    alias ParentType = typeof(__traits(parent, T));
}

--

Reply via email to