comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Smart_Pointers with Ada 2012 functionality
Date: Fri, 29 Jun 2012 13:00:50 -0700 (PDT)
Date: 2012-06-29T13:00:50-07:00	[thread overview]
Message-ID: <bc0ffdea-039a-488c-9207-c5c1c3471df5@googlegroups.com> (raw)

Now that GNAT GPL 2012 implementing full Ada 2012 is out, my reference counted access types use the new aspect Implicit_Dereference, which greatly simplifies the syntax. (The previous Ada 2005 implementation is also availible.)

This package provides a completely safe implementation in that it prevents deallocation by the user; deallocation is under sole control of the implementation. (It's however not task-safe.)

Full documentation and test programs show how to use the package.

http://www.christ-usch-grein.homepage.t-online.de/Ada/Smart_Pointers.html



                 reply	other threads:[~2012-06-29 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox