[Bug libstdc++/13943] call of overloaded `llabs(int)' is ambiguous

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sun May 22 21:20:00 GMT 2005


------- Additional Comments From pcarlini at suse dot de  2005-05-22 21:20 -------
Actually, I have a much better idea, that I'm testing right now: no need for
complex template-based tricks (in this case, at variance with the case of
classification macros, we *know* the type of the arguments!): llabs and lldiv
are protected by _GLIBCXX_USE_C99, therefore in namespace __gnu_cxx we can
simply do 'using ::llabs' ;)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13943



More information about the Gcc-bugs mailing list