From: tmoran@acm.org
Subject: Re: Dynamic dispatch again
Date: Tue, 09 Oct 2001 04:10:42 GMT
Date: 2001-10-09T04:10:42+00:00 [thread overview]
Message-ID: <6Nuw7.17802$IY3.12247494@news1.rdc1.sfba.home.com> (raw)
In-Reply-To: 3BC2475D.535D4E72@san.rr.com
>approach to dynamically dispatching an entry to one of N different tasks
If the bodies of the tasks are too heterogeneous, how about the calls
on the tasks. Are there a small number of subroutines A, B, and C that
do all the calls? Could you make an A that calls task One, and another
A that is identical except that it replaces all references to One with
references to Two, and so forth. Then use overloading to tell which A
is being used. Or have a tagged type determine dynamically which A is
to be used, and thus implicitly which task is to be called.
next prev parent reply other threads:[~2001-10-09 4:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-06 1:08 Dynamic dispatch again Darren New
2001-10-06 17:52 ` tmoran
2001-10-08 1:13 ` Darren New
2001-10-08 4:23 ` tmoran
2001-10-08 16:26 ` Darren New
2001-10-08 18:21 ` tmoran
2001-10-08 19:07 ` Darren New
2001-10-09 0:25 ` tmoran
2001-10-09 0:40 ` Darren New
2001-10-09 1:29 ` Larry Hazel
2001-10-09 4:10 ` tmoran [this message]
2001-10-09 15:40 ` Darren New
2001-10-09 17:58 ` tmoran
2001-10-09 19:26 ` Darren New
2001-10-09 19:42 ` tmoran
2001-10-09 20:23 ` Darren New
2001-10-09 22:37 ` tmoran
2001-10-10 18:17 ` Darren New
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox