Boost logo

Boost :

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


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 ;-)


Boost list run by bdawes at, gregod at, cpdaniel at, john at