On Tuesday, 16 June 2015 at 20:39:44 UTC, Daniel N wrote:
Or is there a better way to accomplish the above?Daniel
Sorry for the noise, ofc there's a better way... struct weird(T) { static if(T.sizeof<=8) { void proto_val(T val); alias U = ParameterTypeTuple!proto_val; } else { void proto_ref(const ref T val); alias U = ParameterTypeTuple!proto_ref; } void zzz(U x) { } } Daniel