• Juho Snellman's avatar
    Redesign the API a bit to make HierarchicalTimerWheel non-template · faaa3ee4
    Juho Snellman authored
    - Allows using multiple different callback signatures in the same
      wheel.
    - Unfortunately it means having to eat the vtable overhead.
    - Add a MemberTimerEvent subclass which is initialized with a
      (dynamic) instance pointer and a (static, templated) member
      function pointer, instead of just a generic Callable.
    faaa3ee4
test_basic.cc 5.02 KB