Home

On 2007-10-01 13:32, Stefan Ram wrote:
> James Kanze <james.kanze@gmail.com> writes:
>>in C++, a pointer is, itself, an object in its own right.
>
> In C++,
>
> »An object is a region of storage. (...)«
>
> ISO/IEC 14882:2003(E), 1.8
>
> A pointer is a value of a pointer type, like »&c« or »( int * )0«.
>
> A pointer, therefore, does not need to be an object.

A pointer also have an address (i.e. occupy some region of storage).

--
Erik Wikström

previous
next

Re: Comparison - Language sensitive collation and searching using UTF-8
IT News
Re: Differences in code implemented using this pointer and a variable THIS simulating this pointer
Re: Callback into C++ from C
Re: Borland ClientSocket gives memory leak (handle count increases)
Akogo
Dzieci Niczyje
Fundacja Iskierka
Fundacja Hobbit
Fundacja Avalon