[v3 patch] Add std::tr1::shared_ptr

Jonathan Wakely cow@compsoc.man.ac.uk
Mon Feb 21 16:14:00 GMT 2005


On Mon, Feb 21, 2005 at 01:16:05PM +0000, Jonathan Wakely wrote:

> 
> This adds <tr1/memory> which covers section 2.2 of TR1 - smart pointers.
[snip]
> I expect there will be plenty of changes to come but this should
> probably be committed now and improved later. OK for mainline?

P.S.
Something we'll definitely need to add later is std::tr1::mem_fn
support, so that it can recognise std::tr1::shared_ptr and do
The Right Thing.  Presumably an overload of a get_pointer() function.

jon

-- 
"Everybody understands Mickey Mouse. Few understand Herman Hesse.
 Only a handful understood Albert Einstein. And nobody understood
 Emperor Norton."
	- Slogan of NORTON CABAL - S.F.



More information about the Libstdc++ mailing list