[C++-sig] Re: Injected constructors
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Thu Jul 24 15:34:42 CEST 2003
--- David Abrahams <dave at boost-consulting.com> wrote:
> > Another idea: could we expand the init<> interface so that it would
> > accept an optional factory function, allowing the user to write:
> >
> > .def(init<>(x_factory))
>
> I thought of that; do you think it would be confusing because of the
> <>s?
I like this best if it is a possibility.
Ralf
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the Cplusplus-sig
mailing list