How do you implement this Python idiom in C++

alainpoint at yahoo.fr alainpoint at yahoo.fr
Thu Jul 27 16:46:53 EDT 2006


Noah Roberts wrote:
> What happens if you print Parent.getcount() now?

You still get 2 since there is no new instance of Parent that was
created.

Alain




More information about the Python-list mailing list