Derek's Experimental Web Journal
     
  This isn't really an academic blog at all. It just basically records the life and times of Derek J Corbett as he undertakes his PhD.
     
  Tue, 18 Oct 2005
 
 
15:27 - operator overload
I am just putting this hint up here, because I did a google search for a solution and couldn't find an answer. Hopefully anyone who makes this mistake in future and googles for an answer will find this page.

If you get an overloaded operator is ambiguous / ambiguity error when trying to compile some C++ code. Make sure you are including the .h files and not the source .cc or .cpp files because this will cause this error. It is a pretty silly mistake to make, but one that is hard to diagnose.

Posted in category Comments ()
     

Outgoing Feeds

TXT XML ESF


Categories