[C++-sig] Re: C arrays mk 2

David Abrahams dave at boost-consulting.com
Wed Oct 15 19:22:28 CEST 2003

Niall Douglas wrote:

> This is for reference only to anyone else that might have this 
> problem and searches the list archive in times to come. People who 
> don't like macros beware!
> My most gracious thanks to Raoul Gough for helping me in this. You're 
> now in the acknowledgements for the library.
> Cheers,
> Niall

This appears to me to be more complicated and less reliable than 
neccessary.  Why not just give your Python MyList class __len__ and 
__getitem__ functions?

More information about the Cplusplus-sig mailing list