Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 15:21:12


From: "David B. Held" <dheld_at_[hidden]>

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

Yes, that's what I meant. Thanks very much indeed!
OK, I'm not hearing any objections, so I'm going to implement this.

-Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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