comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: Instantiations of a generic with often encountered arguments
Date: Sun, 26 Nov 2017 02:04:13 +0200
Date: 2017-11-26T02:04:13+02:00	[thread overview]
Message-ID: <ovd0dt$hmi$1@gioia.aioe.org> (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


             reply	other threads:[~2017-11-26  0:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26  0:04 Victor Porton [this message]
2017-11-26  2:24 ` Instantiations of a generic with often encountered arguments 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
replies disabled

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