logoalt Hacker News

gpderettayesterday at 1:08 PM1 replyview on HN

Same in C++. You can't do much with the function type itself as there are no objects with that type, but you can create references and pointers to it.


Replies

1718627440yesterday at 1:40 PM

But

    typedef void * (type) (void * args);

    type foo;

    a = foo (b);
works?
show 2 replies