Re: How to pass function name as a parameter?
From: Levan Jgarkava (levanikoNoSpam_at_mailru.com)
Date: 05/25/04
- Next message: Duane Bozarth: "Re: How to pass function name as a parameter?"
- Previous message: Levan Jgarkava: "Re: How to pass function name as a parameter?"
- In reply to: Tony Proctor: "Re: How to pass function name as a parameter?"
- Next in thread: Tony Proctor: "Re: How to pass function name as a parameter?"
- Reply: Tony Proctor: "Re: How to pass function name as a parameter?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 01:04:48 +0400
Hi,
> A good example of this might be where you want to pass the "address" of a
> comparison function to a sort class. The sort class might be just
executing
> a sort algorithm (e.g. quicksort) without regard to the data type of the
> objects it's given. However, if those objects Implement an Interface that
> defines a Compare method, then it doesn't have to care.
>
> Does this sound useful? Do you need some sample code?
Yes. I'll be greateful for any additional information/samples/docs...
Thanks.
Best Regards,
Levan Jgharkava
- Next message: Duane Bozarth: "Re: How to pass function name as a parameter?"
- Previous message: Levan Jgarkava: "Re: How to pass function name as a parameter?"
- In reply to: Tony Proctor: "Re: How to pass function name as a parameter?"
- Next in thread: Tony Proctor: "Re: How to pass function name as a parameter?"
- Reply: Tony Proctor: "Re: How to pass function name as a parameter?"
- Messages sorted by: [ date ] [ thread ]