[C++-sig] Re: injected constructors

David Abrahams dave at boost-consulting.com
Sun Sep 21 20:50:07 CEST 2003


David Abrahams <dave at boost-consulting.com> writes:

> Gideon May <gideon at computer.org> writes:
>
>> Dave,
>>
>> --On Sunday, September 21, 2003 11:18 AM -0400 David Abrahams
>>   <dave at boost-consulting.com> wrote:
>>> The code snippet is missing the definitions of classes, etc.  Can't
>>> you produce a minimal test case?  I don't even see make_constructor
>>> in here.
>>
>> I just realized that I compiled with warning level 3. The warning doesn't
>> show up with the default warning level. I've created a simple
>> (contrived) test case which
>> shows the warning :
>
> Oh, how annoying!  But thanks for the pointer.  The enclosed patch
> fixes it.

Whoops, I mean this:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with_custodian_and_ward.patch
Type: text/x-patch
Size: 1546 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20030921/a88474d7/attachment.bin>
-------------- next part --------------

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


More information about the Cplusplus-sig mailing list