This is the mail archive of the gcc-help@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: Question on overriding operator=




Arthur Schwarz wrote:
SlipHeader& splitHeader = header->splitLeft(*cellPtr[DATASIZE/2]);
...
an unrelated call is made to an overridden logical not (operator!=) for a double.
What is the declaration of splitLeft and the declaration of cellPtr?

Could it be trying to convert a double to a bool to get a valid parameter for splitLeft?


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