<i>&gt;1. What about templates? If there&#x27;s a &quot;template&lt;T&gt; void foo(x &amp;T)&quot;, and it does &quot;x++&quot; inside, and I sometimes use it on int, sometimes on bool, how would the magic wand upgrade only the bool cases to &quot;x = true&quot;?</i><p>Generate a new template specialization or overload? I realize this could be rather questionable if the offending operator use is somewhere in the middle of other code.