Topic: Just auto_ptr?


Author: willer@carolian.com (Steve Willer)
Date: 1996/03/06
Raw View
I was hoping someone could tell me why more standard "smart pointers" weren't
defined. Why not a reference-counting ptr (perhaps ref_ptr) and an auto_ptr
with operator== and operator<, for STL usage (perhaps oper_ptr)? These are the
kinds of pointers that would be fairly common, so why not standardize them and
cut down on confusion?
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]