comp.lang.ada
 help / color / mirror / Atom feed
* Specialization of generics
@ 2001-06-04  0:17 John Pitney
  2001-06-04  1:04 ` tmoran
  2001-06-04 10:23 ` Ehud Lamm
  0 siblings, 2 replies; 7+ messages in thread
From: John Pitney @ 2001-06-04  0:17 UTC (permalink / raw)


Hello from an Ada newcomer!  I'm an experimental physicist with a C/C++ 
background learning Ada (using GNAT on GNU/Linux on Intel) for use in 
numerics and possibly instrument control.  

Now the question: Is it possible to define a generic package taking 
one or more types as generic formal parameters, and then define that 
the generic is instantiated in a different way if the generic formal 
parameters match some condition?  One application I could think of 
would be for an image package to handle 1-bit images in a compact way.  

The comp.lang.ada group seems great so far---I've enjoyed lurking for 
the last few months!  

John

-- 
John Pitney
johnp789 <at> yahoo.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-06-04 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-04  0:17 Specialization of generics John Pitney
2001-06-04  1:04 ` tmoran
2001-06-04 10:23 ` Ehud Lamm
2001-06-04 14:51   ` Ted Dennison
2001-06-04 16:16     ` Ehud Lamm
2001-06-04 17:28       ` Brian Rogoff
2001-06-04 19:21         ` Ehud Lamm

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