comp.lang.ada
 help / color / mirror / Atom feed
From: convergence82 <tiamiata@gmail.com>
Subject: object(<>)
Date: Mon, 13 Apr 2009 09:30:46 -0700 (PDT)
Date: 2009-04-13T09:30:46-07:00	[thread overview]
Message-ID: <18c70875-f9c2-4883-8c30-aaac314746f5@b1g2000vbc.googlegroups.com> (raw)

what does this mean?  Does it mean that I can call joemontana
( anytype)?

-------------------------jeffrey.ads
  type Cd is ..........
  package Convert_Cd is new joemontana(Cd);   --====> does this mean
I'm instantiating the
 
--           generic package joemontana for the type 'Cd'?

-------------------------jeffrey.adb
with_cd : System.Address
  x := Convert_Cd.To_Pointer( with_cd);

-------------------------joemontana.spc
generic
  type Object(<>) is limited private;
package joemontana is
  type Object_Pointer is access all Object;
  ...
  function To_Pointer(Value : System.Address) return Object_Pointer;
  ...
end joemontana;



             reply	other threads:[~2009-04-13 16:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-13 16:30 convergence82 [this message]
2009-04-13 17:58 ` object(<>) anhvofrcaus
2009-04-13 18:10   ` object(<>) convergence82
replies disabled

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