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: Merge C++ conversion into trunk (4/6 - hash table rewrite)


Hi,

I have another "out of curiosity"-type question ;)

On 08/16/2012 11:19 AM, Richard Guenther wrote:

! ! template <typename Element> ! inline int ! pointer_hash<Element>::equal (const T *existing, ! const T *candidate) ! { ! return existing == candidate; }
are these uses in the new code of int instead of bool intended or "historical"? Seem weird, definitely from the C++ (but even from the C) point of view.

Paolo.


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