"Vadim Godunko" wrote in message news:35dd1a8f-1af8-4979-9663-29f7f4cb302e@g19g2000yqc.googlegroups.com... On Jun 10, 10:54 am, Yannick Duch�ne (Hibou57) wrote: >> Le Thu, 10 Jun 2010 08:34:07 +0200, Vadim Godunko a >> �crit:> I want to known more about how to use OOP in Ada without access >> types! >> >> Wadim, if saying OOP, you meant dynamic dispatching, then you are indeed >> not required to use access type for that. >No, I more asked for real example where Ada's OOP is be used without >access types in OOP way. The only known example is Tuker's work on >some part of ASIS 05, but from my point of view this work is set of >tricks and assumptions successful for concrete example but not for >general use. Claw only uses a handful of access types in its interfaces (internally is a different story, but irrelevant to this discussion). Most Claw example programs use no access types at all. > By "access types" I mean access to classwide types. If you need to do this, using an indefinite container to hold the objects is preferable to using explicit access types. Again, access types probably are used to implement the container, but they aren't visible anywhere. This eliminates the horrors of explicit storage management and most (or all, depending on the implementation) of the unsafeness of access types without any distributed overhead. (Unlike garbage collection, which has to be done on all objects to work, so even objects that don't need management have to pay for it.) Randy.