This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Improving shared_ptr for C++0x
- From: Benjamin Kosnik <benjamin dot kosnik at gmail dot com>
- To: "Jonathan Wakely" <jwakely dot gcc at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Nov 2007 18:13:14 -0600
- Subject: Re: [patch] Improving shared_ptr for C++0x
- References: <4348dea50711131546n63e7f83brc8bfd1b15e6fab6c@mail.gmail.com>
> New tests and docs on the implementation choices are included. There
> are a few places where further work could be done, see the new HTML
> file for details. That doc is also available at
> http://www.kayari.org/doc/c++/shared_ptr.html to save you reading the
> HTML. I haven't linked to the new doc from any existing pages yet as
> the C++0x status is still experimental and I don't know where these
> sort of implementation notes will fit in Benjamin's new doc plan.
Just to answer this last part.
Status for C++0x stuff should go in
docs/html/17_intro/c++0x_status.html. You can put the paper numbers as
links in the notes sections if you'd like. It would be great if you
could correct this document WRT shared_ptr and related items.
FYI, this document is not complete currently. Instead,
it's the tr1_status.html document "ported" to the C++0x draft. I believe
appendix C to be wrong, for instance, but most of the other bits are
fine.
It doesn't actually track (at the moment) anything after tr1, ie
variadic templates, move semantics, or anything here:
http://gcc.gnu.org/projects/cxx0x.html
This needs to be fixed, obviously, but I figure it can be done
incrementally. To be quite honest, I'm not quite sure of the state of
the move semantics work myself, so I didn't want to attempt it.
;)
-benjamin