Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
valerij
· 7y ago · 0 comments
on topic of function pointers, is there a template to turn
std::funtion<foo(bar, baz)>
into
foo(*)(bar, baz) ?
Comments
[–]
bartbes
7y ago
Sure. Here's one:
https://godbolt.org/z/vWl4NE
[–]
valerij
OP
7y ago
huh. this was easier than expected