typedefs and structs
Bernd Petrovitsch
bernd at firmix.at
Thu Nov 10 09:00:50 EST 2005
On Wed, 2005-11-09 at 22:53 +0100, Andreas Schwab wrote:
> thockin at hockin.org writes:
>
> > Sigh, That's funny - I've written C++ code which has references as members
> > of objects. You absolutely *can* store a reference.
>
> You can _initialize_, but not _modify_ (reseat) it.
reset?
As in:
---- snip ----
struct x {
struct y * const p;
};
---- snip ----
We assume that no one casts the "const" away.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
More information about the Linuxppc64-dev
mailing list