[C++-sig] Re: FW: Injected constructors

Mike Rovner mike at nospam.com
Thu Jul 24 21:01:55 CEST 2003


David Abrahams wrote:
> "Roman Yakovenko" <romany at actimize.com> writes:
>       .def(make_init(f))

I suggest
  .def(init<>(&f))  //for regular use
and
  .def(make_init(&f, call_policy)) // for other; like make_function

Mike







More information about the Cplusplus-sig mailing list