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

Also, std::functions are not comparable. This makes it harder to use for registration/de-registration or an Observer architecture.