comp.lang.ada
 help / color / mirror / Atom feed
* Instantiations of a generic with often encountered arguments
@ 2017-11-26  0:04 Victor Porton
  2017-11-26  2:24 ` gautier_niouzes
  2017-11-26  8:52 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 7+ messages in thread
From: Victor Porton @ 2017-11-26  0:04 UTC (permalink / raw)


Is it a good practice to declare "centralized" (that is in the same package 
as a generic packages is defined in, or in a child unit) instantiations of a 
generic package with common (that is often encountered, such as Integer, 
String, etc.) generic parameters?

In C++ this is not a problem, because there a template is instantiated 
whenever one needs it. But what's about Ada?

-- 
Victor Porton - http://portonvictor.org


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

end of thread, other threads:[~2017-11-27 16:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-26  0:04 Instantiations of a generic with often encountered arguments Victor Porton
2017-11-26  2:24 ` gautier_niouzes
2017-11-26  8:52 ` Dmitry A. Kazakov
2017-11-27  2:02   ` Victor Porton
2017-11-27  8:00     ` Simon Wright
2017-11-27  8:41     ` Dmitry A. Kazakov
2017-11-27 16:05     ` Shark8

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