Topic: Container objects with a copy ctor, == operator and the = operator


Author: "Sandy Duggal" <sandy@novanet.net.au>
Date: 1997/04/10
Raw View
Having looked at over half a dozen cpp libs, I have found one or two that
provide this category of container classes the only one I can use is LEDA
being source-available.

Starngely the STL libs don't have it. To me, it would appear natural to
have containers with a cloning constructor for the elements rather than a
default constructor - that severely restricts the use to which the
constructor can be put and one may actually end up putting that piece of
code somewhere else where it does not belong - stuff like database
handling, or grabbing handles for a tete-a-tete with some remote server
etc.

Regds.

Rama Duggal

PS : My news server seems very mercurial, any comments/remarks emailed to
me at sandie@novanet.net.au will be greatly appreciated.
---
[ 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
]