From: Victor Porton <porton@narod.ru>
Subject: We should introduce aliased types
Date: Fri, 01 Aug 2014 21:54:06 +0300
Date: 2014-08-01T21:54:06+03:00 [thread overview]
Message-ID: <lrgnoc$di6$1@speranza.aioe.org> (raw)
I think we should introduce aliased types to allow self-referencing objects
and objects which we can access for object's internal purposes:
type T is aliased
record
Ptr: access all T;
end;
Every value of an aliased type should be aliased (whether we specify that
the particular value if aliased or don't specify).
Then we could create a self-referencing object by a code (say in Initialize)
like this:
declare
X: T;
begin
X.Ptr = X.Unchecked_Access;
end;
--
Victor Porton - http://portonvictor.org
next reply other threads:[~2014-08-01 18:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-01 18:54 Victor Porton [this message]
2014-08-01 18:56 ` We should introduce aliased types Victor Porton
2014-08-01 19:16 ` Victor Porton
2014-08-01 19:47 ` Randy Brukardt
2014-08-01 19:57 ` Victor Porton
2014-08-01 19:44 ` Randy Brukardt
2014-08-01 19:49 ` Randy Brukardt
2014-08-01 20:39 ` sbelmont700
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox