Richard Biener <richard.guent...@gmail.com> writes: > On Tue, Oct 3, 2017 at 8:34 PM, Richard Sandiford > <richard.sandif...@linaro.org> wrote: >> This patch uses global rather than member operators for wide-int.h, >> so that the first operand can be a non-wide-int type. > > Not sure why we had the in-class ones. If we had some good arguments > they'd still stand. Do you remember?
Not really, sorry. This might not have been discussed specifically. It looks like Kenny and Mike's initial commit to the wide-int branch had member operators, so it could just have been carried over by default. And using member operators in the initial commit might have been influenced by double_int (which has them too), since at that time wide_int was very much a direct replacement for double_int. Thanks, Richard