From: Peter Chapin <PChapin@vtc.vsc.edu>
Subject: Re: Interesting containers problem.
Date: Fri, 17 Apr 2015 15:12:12 -0400
Date: 2015-04-17T15:12:12-04:00 [thread overview]
Message-ID: <alpine.CYG.2.11.1504171506500.2268@WIL414CHAPIN.vtc.vsc.edu> (raw)
In-Reply-To: <8def4a86-5835-4368-b414-63e12f1074e8@googlegroups.com>
On Fri, 17 Apr 2015, Shark8 wrote:
> Ok, so let's say we have a type for Identifiers:
[snip]
> And that's all well and good; however, there is one limitation here that
> is revealed when you need nesting scopes -- there is, apparently, no way
> to define an Element_Type to feed to Indefinite_Ordered_Maps which is an
> instance of Indefinite_Ordered_Maps.Maps or an instance of Variable_Data
> (by way of a variant record; even one which is forward declared).
>
> What would be the proper way to handle this sort of situation?
Perhaps using access types directly? What if the Element_Type of the Map
is an access type that points at an incomplete type, where the completion
follows the instantiation of the Maps generic?
Peter
next prev parent reply other threads:[~2015-04-17 19:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 13:42 Interesting containers problem Shark8
2015-04-17 19:12 ` Peter Chapin [this message]
2015-04-17 20:45 ` Randy Brukardt
2015-04-17 21:06 ` Dmitry A. Kazakov
2015-04-18 17:21 ` Shark8
2015-04-19 17:10 ` brbarkstrom
2015-04-20 23:39 ` Randy Brukardt
2015-04-21 3:05 ` Randy Brukardt
2015-04-21 8:06 ` Dmitry A. Kazakov
2015-04-21 8:28 ` J-P. Rosen
2015-04-21 8:45 ` 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