Ie something like..

auto Foo(T)(auto ref T x)
{
    static if (isByRef(x))
    {
    }
    else
    {
    }
}

Reply via email to