Usages of defaultParameters and parameterNames

Andreas Pakulat apaku at gmx.de
Sun Feb 24 12:58:42 UTC 2008


Hi,

how are the above functions from AbstractFunctionDeclaration used in
C++? According to the docs defaultParameters may be a problem for
python, because a python function can have:

def foo(bar=1,*foo,**baz)

i.e. the last defaultParameter is not necessarily the last paramter. I'm
thinking we might need to introduce a proper list of structures there,
something very simple with just a name an optional a value.

Andreas

-- 
You will never know hunger.




More information about the KDevelop-devel mailing list