Is there a way to constrain template arguments to reference or value types? I'd like to do something like:

T foo(T)(T x)
    if (isReferenceType!T)
{ ... }

--Jon

Reply via email to