Python Productivity over C++
Rainer Deyke
root at rainerdeyke.com
Fri Jun 9 18:25:37 EDT 2000
Wim Lavrijsen <wlav at atlas03.cern.ch> wrote in message
news:8hr8fj$fu$1 at sunnews.cern.ch...
> All that STL containers require is that your dtor and copy assignment
> don't throw. The compiler generated members fullfill that requirement.
This statement is both incorrect and misleading. Incorrect because there
may be other requirements: for example, std::set (along with several others)
requires that operator< and operator== are defined for the object.
Misleading because for many classes the compiler generated functions cause
incorrect behavior.
--
Rainer Deyke (root at rainerdeyke.com)
Shareware action/role-playing games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list
mailing list