Closed tabacco closed 13 years ago
Trying to build main.cpp, I was getting a "ambiguous overload for 'operator=='" build error in main.cpp:
/root/c10t/src/main.cpp:196: error: ambiguous overload for 'operator==' in 'total == 0' /root/c10t/src/main.cpp:196: note: candidates are: operator==(std::streamoff, int)
Casting total to int before trying to compare to 0 cleared it up.
Which compiler was this run against?
There should be a line stating what template argument T has, is it available to you?
This was resolved in another pull request, still. Thanks for your feedback!
Trying to build main.cpp, I was getting a "ambiguous overload for 'operator=='" build error in main.cpp:
/root/c10t/src/main.cpp:196: error: ambiguous overload for 'operator==' in 'total == 0' /root/c10t/src/main.cpp:196: note: candidates are: operator==(std::streamoff, int)
Casting total to int before trying to compare to 0 cleared it up.