This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there any smart pointers available


On Mon, Feb 11, 2002 at 11:46:32AM -0800, Ajit wrote:
> Are there any smart pointers  available in libstdc++ .

Only what's in the standard C++ library:  std::auto_ptr, which isn't
a very smart "smart pointer".  Tips on auto_ptr are available from
http://gcc.gnu.org/libstdc++/documentation.html .

> I want to use the 
> STL containers using reference semantics.

For the moment you might want to have a look at Boost:  www.boost.org.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]