From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Problems using Generic_Dispatching_Constructor
Date: Wed, 1 Jun 2022 14:42:40 +0200 [thread overview]
Message-ID: <t77mrv$1e20$1@gioia.aioe.org> (raw)
In-Reply-To: 9a5e9c8b-c263-4ac7-86f8-97a8ee1fdb99n@googlegroups.com
On 2022-06-01 13:36, Mark Lorenzen wrote:
> Why are access types used at all?
Parameters are kind of factory object, you want to have the factory mutable.
> Is there another workaround?
In my practice I never had a case when I could obtain the tag needed for
generic dispatching constructor. All my designs ended up with a mapping
key -> constructing function
with an explicit registering the type in the mapping.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2022-06-01 12:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 11:36 Problems using Generic_Dispatching_Constructor Mark Lorenzen
2022-06-01 12:42 ` Dmitry A. Kazakov [this message]
2022-06-01 21:25 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox