On Thursday, 29 October 2015 at 19:42:10 UTC, anonymous wrote:
`tup` is an ordinary (run time, dynamic) string to the type system. You can't mixin those. You can only mixin static values (enum, static immutable, CTFE results).

The code you're generating doesn't depend on `base` and `other`. All it needs are `T` and `U`. So, you can generate the code from the types and mix it into a function that takes `T base, U other`:


Thanks :) That worked perfectly.

Reply via email to