Re: SmartPointer & Inheritance & Explicit Constructors
On Jun 21, 4:02 pm, "Chris Thomasson" <cris...@comcast.net> wrote:
"James Kanze" <james.ka...@gmail.com> wrote in message
news:1182333297.613267.37860@c77g2000hse.googlegroups.com...
On Jun 20, 5:08 am, "Chris Thomasson" <cris...@comcast.net> wrote:
"Erik Wikstr=F6m" <Erik-wikst...@telia.com> wrote in message
[...]
On the other hand, I do
think that it should be required that a hosted implementation
support it---it's not optional for the implementation.
Okay. I need a little clarification: Are you saying that any
implementation of the Standard C++ runtime for any
architecture must have a full-blown general-purpose garbage
collector built-in it's infrastructure?
I'm not sure concerning the latest evolution, but the last I
saw, a hosted implementation would not be conforming if it
wasn't possible to request the use of garbage collection. So
for hosted implementations, yes, although I'm not sure what you
mean by "built-in". It's a set of library components, plus
(probably) some compiler options. If you don't use it, you
shouldn't have to pay for it. (Except, of course, in that it
means that the library files will take up a little more space on
your disk, etc. The total cost will certainly be less than for
std::vector.)
--
James Kanze (GABI Software, from CAI) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34