Python from Wise Guy's Viewpoint
Jon S. Anthony
j-anthony at rcn.com
Sat Oct 25 15:15:35 EDT 2003
More information about the Python-list mailing list
Sat Oct 25 15:15:35 EDT 2003
- Previous message (by thread): Python from Wise Guy's Viewpoint
- Next message (by thread): Python from Wise Guy's Viewpoint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
gt5163b at prism.gatech.edu (Brian McNamara!) writes: > boost::tuple to then generalize things. (Indeed, using such libraries, > you can simulate "apply" rather convincingly. But somewhere under the > hood, someone has to have written N different overloads for 0-arg, > 1-arg, ... N-arg, up to some fixed ("large enough") N.) That's not actually good enough. You also have to have overloads for all the possible types for 1-arg, ..., N-arg. Actually it's worse than that - the set of types is not closed, so even in principle this won't work. /Jon
- Previous message (by thread): Python from Wise Guy's Viewpoint
- Next message (by thread): Python from Wise Guy's Viewpoint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list