Boost logo

Boost :

From: Peter.Bienstman_at_[hidden]
Date: 2001-07-16 10:12:43


Hi,

Do default function arguments work automatically?

If I have a function f(int i=1), I have to define it twice in order
to get the behaviour I want:

def( ( void (*) () )f, "f")
def( ( void (*) (int) )f, "f")

Would be really nice if Boost did this automatically, like SWIG ;-)

Peter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk