On 2022-03-04 21:26, Manuel Gomez wrote:
I wanted to do automatic serialization of Ada types that make use of
dynamic memory management with access types,
That is impossible to do since the semantics of references access type implement is unknown. E.g. external references, references inside
managed objects, references to non-movable, non-copyable objects,
references created in certain order etc.
I am using a method where references are either explicitly manifested by
the serialized objects or explicitly converted to offsets by objects
containing them.
but the standard solution
only works for object values, not for access values.
If you mean stream attributes remember that they are non-portable and
have very limited use unless overridden.
Was an AI finally proposed as suggested in the Future Work?
I doubt it could have practical use, e.g. for networking or persistence purposes.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)