|
Boost : |
From: David B. Held (dheld_at_[hidden])
Date: 2002-08-13 15:42:16
"David Abrahams" <dave_at_[hidden]> wrote in message
news:25942.9790465676$1029268776_at_news.gmane.org...
> [...]
> Come to think of it, I'd probably opt for a special no_init parameter to
> the constructor:
>
> class_<A, not_constructible>("A", no_init).def("method", &A::method)
Is this redundant, or did you mean to say:
class_<A>("A", no_init).def("method", &A::method);
Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk