Re: destructor and delete
"jeffc" <nobody@nowhere .com> wrote in message news:3f560227_2 @news1.prserv.n et...
..[color=blue]
>
> Not good enough. There is a clear distinction between a built in type and
> an instance of a class.
>[/color]
There is. But they are both, as far as C++ is concerned, objects.
Object is a term defined in the language as "a region of storage."
It is essentially any "data" code (that is, functions and pieces thereof)
are not objects, everything else is.
Objects are NOT limitted to classes.
"jeffc" <nobody@nowhere .com> wrote in message news:3f560227_2 @news1.prserv.n et...
..[color=blue]
>
> Not good enough. There is a clear distinction between a built in type and
> an instance of a class.
>[/color]
There is. But they are both, as far as C++ is concerned, objects.
Object is a term defined in the language as "a region of storage."
It is essentially any "data" code (that is, functions and pieces thereof)
are not objects, everything else is.
Objects are NOT limitted to classes.
Comment