Y
Hacker News
new
|
ask
|
show
|
jobs
by
valerij
2720 days ago
on topic of function pointers, is there a template to turn
std::funtion<foo(bar, baz)>
into
foo(*)(bar, baz) ?
1 comments
bartbes
2720 days ago
Sure. Here's one:
https://godbolt.org/z/vWl4NE
link
valerij
2712 days ago
huh. this was easier than expected
link