Re: How do you implement this Python idiom in C++

2006-07-27 Thread Noah Roberts
[EMAIL PROTECTED] wrote: > Rob Williscroft wrote: > > > If this is more than idle curiosity I strongly suggest you post > > a version of the python code you need to translate to C++. > > For the moment this is just healthy curiosity but i will still post the > code i would like to see translated:

Re: How do you implement this Python idiom in C++

2006-07-27 Thread Noah Roberts
[EMAIL PROTECTED] wrote: > I am no C++ expert but i guess there might be some in the Python and > C++ newsgroups. > Provide compilable code that exibits your problem. The technique is sound; you must be screwing up somehow. #include using namespace std; template class counted { static i