[patch] Improving shared_ptr for C++0x
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Nov 14 23:09:00 GMT 2007
On 14/11/2007, Benjamin Kosnik <bkoz@redhat.com> wrote:
>
> > Just to answer this last part.
>
> Now to answer it after actually reading your page....
>
> I see your concern now. This doesn't really fit into a status checklist.
Right, but attached anyway is an update for the shared_ptr section of
the status page to make the section names and numbers match the
working paper.
This assumes my patch is going in, since I've marked everything done :-)
I'll apply this if the other patch goes in, if not I'll adjust it first.
> I suppose this could either fit in chapter 20, in a new shared_ptr
> section, or in a implementation-defined behavior link after C++0x, a la
> what was done for C++98.
Apart from confirming that libstdc++ only does one allocation in
make_shared none of the behaviour is implementation-defined, and even
that isn't what the standard refers to as ID, since the allocations
done by make_shared are only mentioned in a note.
I modelled the doc on your locale, ctype and messages implementation
notes, so we have a few files like this that are not really user-level
docs, but definitely worth having. Hmm, then again, the messages and
locale docs are sort of user docs, since they describe libstdc++
extensions to the standard behaviour. My shared_ptr notes are pretty
useless to anyone except maintainers (but should allow me to close
PR24347 at least :)
Jon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: status.diff
Type: text/x-patch
Size: 1653 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20071114/f8bae6e0/attachment.bin>
More information about the Libstdc++
mailing list