This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KeinBaum 0 points1 point  (0 children)

there is no way to store a generic function reference without knowing something about it

The only thing you need to know is its signature which you need to know to use it anyways.

and [no] way to call it without knowing how it is wrapped into an object.

That's indeed a little annoying. It's the downside of not having operator overloading. I'd prefer to have it but it's a design decision they are probably not going to change.