comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: How to get generic formal parameter type into base class
Date: Sat, 06 Oct 2012 01:38:15 +0200
Date: 2012-10-06T01:38:15+02:00	[thread overview]
Message-ID: <506f6f67$0$6547$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <51f8461d-d362-4e5f-a188-ac96a699a211@googlegroups.com>

On 06.10.12 00:23, kevin.miscellaneous@gmail.com wrote:
> This : Classes.Xlate_Base_Type'class := Factory_Get(type1);


Xlate_Base_Type is defined inside generic package
Classes.Translate_Base. Only instances Xyz of this template
allow referring to Xyz.Xlate_Base_Type['Class] elsewhere.
Like in base.Xlate_Base_Type. Classes.Xlate_Base_Type does
not exist at all, and in Classes.Translate_Base.*
"Classes.Translate_Base" is not a valid prefix for that
reason.

Just guessing, it might be helpful to _not_ associate generic
Ada packages with C++ class templates; generic packages are
as if C++ had generic _namespaces_.




  reply	other threads:[~2012-10-05 23:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 22:23 How to get generic formal parameter type into base class kevin.miscellaneous
2012-10-05 23:38 ` Georg Bauhaus [this message]
2012-10-06  3:28 ` Adam Beneschan
2012-10-06 20:03   ` kevin andrew
2012-10-07  3:06     ` Adam Beneschan
2012-10-11 20:25       ` kevin andrew
2012-10-11 23:28         ` Georg Bauhaus
2012-10-11 23:52         ` Georg Bauhaus
2012-10-07  7:42     ` Dmitry A. Kazakov
replies disabled

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