
6 May
2010
6 May
'10
11:28 p.m.
El 06/05/2010 02:04 p.m., Olaf Peter escribió:
bool operator==( const foo& lhs, const foo& rhs ) { return lhs == rhs; }
Unless I'm missing something, this looks like infinite recursion, which would cause stack overflow. Don't you get a warning from your compiler? Agustín K-ballo Bergé.- http://talesofcpp.blogspot.com