jelaft wrote: I've tracked this down in at least one case to sloppy coding where an operator=() method was declared on a templated class with no return type, but it's a needle in a haystack to find. I have this problem with templates that use forward-declared classes. None of them compiled, until I workarounded it passing the class as a template parameter with a default (uglier seeing than only talking).
// Quantum sort algorithm implementation
while (!sorted)
;