This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] for PRs 27639 and 26719


Zdenek Dvorak wrote:

> I prefer the current name (or some variant of it, if the current name
> seems unclear to you); it tells what property the function tests for (a
> scalar type in that the arithmetics cannot be performed). 

However, "arithmetic type" is a defined term in C++ (and perhaps in C).
 It would be a bad idea to use nonarithmetic_type as the name of the
predicate, since that would cause people to think it had the defined
meaning.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]