This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] libstdc++/21244
Gabriel Dos Reis wrote:
>Naming the enumeration is not the cure. See my other message --
>you're at the mecry of an overload (which is the key issue, actually).
>
>
Ok, therefore, let's not name anything (I have to revert the fix for 21244).
Then, which cure are you suggesting? Shall I add casts to an
"appropriate" type everywhere? If this is the only real solution, let's
go with it. Probably, besides the case of cpp_type_traits, in most the
other places int would be ok. Certainly, when complex arithmetic is
involved we are going to uglify a lot the code, sigh.
Paolo.