problems with constructor/implicitly_convertible

1 Feb
2005
1 Feb
'05
6:38 p.m.
Hi,
I have defined the following:
bigint* bigint_constructor(long_ l){
return new bigint(to_bigint(l));
}
class_<bigint>("bigint")
.def("__init__", make_constructor(bigint_constructor))
....
....
implicitly_convertible
7326
Age (days ago)
7326
Last active (days ago)
0 comments
1 participants
participants (1)
-
Benjamin Schmeling