Y
Hacker News
new
|
ask
|
show
|
jobs
by
nly
1654 days ago
3. Type-erased (its primary use case, but hinders optimization)
4. Can't be constexpr
1 comments
tcbawo
1654 days ago
Also, std::functions are not comparable. This makes it harder to use for registration/de-registration or an Observer architecture.
link