comp.lang.ada
 help / color / mirror / Atom feed
From: David Botton <david@botton.com>
Subject: Re: Using Class wide types as factories, is this legit?
Date: Tue, 23 Sep 2014 14:27:01 -0700 (PDT)
Date: 2014-09-23T14:27:01-07:00	[thread overview]
Message-ID: <2bfcf64f-0e19-4cf5-96df-14a360d2cb05@googlegroups.com> (raw)
In-Reply-To: <1ow7xs34a7j7z.1f0806cgaoh7r$.dlg@40tude.net>


> Regarding your design. The rule of thumb is that controlled and other
> 
> copyable objects shall not have access discriminants.

rule of thumb? what would be your reasons to disallow?

I find creative uses for that as you can see.

I'll see if I can create a small reproducer first since if I can't then I know for sure is some place deeper in my code as you point out and which I've seen the case before.

David Botton






  reply	other threads:[~2014-09-23 21:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  5:19 Using Class wide types as factories, is this legit? David Botton
2014-09-23  7:23 ` Dmitry A. Kazakov
2014-09-23  8:21   ` David Botton
2014-09-23 19:28     ` Dmitry A. Kazakov
2014-09-23 21:27       ` David Botton [this message]
2014-09-24  7:22         ` Dmitry A. Kazakov
2014-09-23  8:37   ` briot.emmanuel
2014-09-23  8:52     ` David Botton
replies disabled

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