3 ms·
3. Type-erased (its primary use case, but hinders optimization) 4. Can't be constexpr
by nly 5y ago
3. Type-erased (its primary use case, but hinders optimization)
4. Can't be constexpr
- tcbawo 5y agoAlso, std::functions are not comparable. This makes it harder to use for registration/de-registration or an Observer architecture.