[C++-sig] Re: make_constructor issues
David Abrahams
dave at boost-consulting.com
Sat Jul 24 16:32:02 CEST 2004
"Ralf W. Grosse-Kunstleve" <rwgk at yahoo.com> writes:
> --- Stefan Seefeld <sseefeld at art.ca> wrote:
>> well, the reason I'm asking because I found it counter-intuitive.
>> Having defined a wrapper via
>>
>> class_<Foo> foo("Foo");
>>
>> I'd expect to pass values around, not Foo pointers. If it is
>> a limitation of make_constructor, it should be documented.
>
> AFAICT the behavior of class_<Foo> foo("Foo") isn't affected in any way by the
> use of make_constructor. David, is this correct?
Correct.
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
More information about the Cplusplus-sig
mailing list