On Wed, Apr 22, 2009 at 1:36 AM, Jarrett Billingsley
<[email protected]> wrote:
>
> template FlattenJoint(T : Joint!(U), U...)
> {
>        alias FlatJoint!(U) FlattenJoint;
> }

Ah, I just thought of this!

template FlattenJoint(T : Joint!(U), U...)
{
        alias FlatJoint!(typeof(T.ranges)) FlattenJoint;
}

A bit less elegant, but it actually works.

Reply via email to