[C++-sig] Re: make_constructor & keyword arguments?
David Abrahams
dave at boost-consulting.com
Tue Aug 10 03:43:16 CEST 2004
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> --- "Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> wrote:
>> While poking around I discovered that the keywords are also not used
>> correctly
>> in this situation:
>>
>> class_<X>("X", init<int>((arg("x"))))
>
> Sorry, I have to take this back; I must have done something silly. At second
> look this turns out to work correctly.
OK, please feel free to apply any patch you believe is correct, as
long as there's a regression test to go with it.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list