comp.lang.ada
 help / color / mirror / Atom feed
* Smart_Pointers with Ada 2012 functionality
@ 2012-06-29 20:00 AdaMagica
  0 siblings, 0 replies; only message in thread
From: AdaMagica @ 2012-06-29 20:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-29 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-29 20:00 Smart_Pointers with Ada 2012 functionality AdaMagica

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