15 std::function<void()> notify;
33 std::unique_ptr<NotifyingCounter<T>, SubOnFree> at;
39 Bump(
decltype(
nullptr)) {}
43 return at ? at.get_deleter().delta : 0;
54 , notify(std::move(notify))
81 NotifyingCounter & operator+=(T delta)
87 NotifyingCounter & operator++(
int)
92 Bump addTemporarily(T delta)
95 return Bump{*
this, delta};