
Hi Sohail, On 10/20/06, Sohail Somani <s.somani@fincad.com> wrote:
Is it not possible at all to have a d(1,2,3) interface?
With the tuples, you are specifying the interface already.
I'm not sure what you mean by `d(1, 2, 3)'... If you have something like: void function(int a, int b, int c) { // do something with a, b, and c }; dispatcher<void(int, int, int)> d; d[0] = &function; d[0](1, 2, 3); Then definitely that's possible.
It would be more natural.
Can you elaborate on what you mean so that I don't misunderstand what you mean? -- Dean Michael C. Berris C++ Software Architect Orange and Bronze Software Labs, Ltd. Co. web: http://software.orangeandbronze.com/ email: dean@orangeandbronze.com mobile: +63 928 7291459 phone: +63 2 8943415 other: +1 408 4049532 blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com http://cplusplus-soup.blogspot.com