On Thursday, 20 April 2017 at 19:20:28 UTC, H. S. Teoh wrote:


Another pernicious thing I encountered recently, related to implicit conversions, is this:

        https://issues.dlang.org/show_bug.cgi?id=17336

It drew a very enunciated "WAT?!" from me.

Yeah, that one is annoying. I've dealt with this before with:

alias OpResult(string op, A, B) = typeof((){ A* a; B* b; return mixin("*a"~op~"*b"); }());

Reply via email to