Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-11-17 17:03:08


on Sat Nov 17 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:

> David Abrahams <dave <at> boost-consulting.com> writes:
>
>>
>>
>> on Fri Nov 16 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
>>
>> > How do I do the subject?
>>
>> You could give more context for your question, but after some
>> head-scratching I've concluded you want:
>>
>> d.attr("__delitem__")(item)
>>
>> Does that help?
>
> Thanks,
>
> I just wonder *why* it did not make it into C++ interface.

Nobody wrote, documented, and tested a "del" function.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net