digitalmars.D.learn - UFCS > opDispatch
- Nick Sabalausky (4/4) Jan 16 2013 Unfortunately, opDispatch [silently] takes precedence over
- Simen Kjaeraas (4/8) Jan 16 2013 Only solution I know of is to use constraints on opDispatch.
Unfortunately, opDispatch [silently] takes precedence over UFCS. I don't suppose there's any way to make a UFCS function call override opDispatch without either ditching UFCS or altering/removing the opDispatch itself?
Jan 16 2013
On 2013-01-16, 22:02, Nick Sabalausky wrote:Unfortunately, opDispatch [silently] takes precedence over UFCS. I don't suppose there's any way to make a UFCS function call override opDispatch without either ditching UFCS or altering/removing the opDispatch itself?Only solution I know of is to use constraints on opDispatch. -- Simen
Jan 16 2013