[C++-sig] Is there a 15-parameter limit for function definiti ons in Python.Boost?

Stefan Seefeld sseefeld at art.ca
Mon Sep 13 20:55:59 CEST 2004


From: Igor Lapshin [mailto:igor at pcigeomatics.com]
Sent: September 13, 2004 14:54

>Hi all, 
> 
>I'm trying to expose several functions with quite impressive number of
arguments: 20-35(!) L 

bear with the poor soul who has to read and understand this code !
Did you consider grouping these arguments into structs ?

I believe the answer to your question is yes, and this limit is specified
with a configurable
compile-time parameter (a macro). To increase it you have to recompile bpl.

Regards,
		Stefan



More information about the Cplusplus-sig mailing list