you might consider doing a typedef of the callback:
```
/// The change changed callback function. The callback in invoked whenever the rank
/// changes and provides the current rank as a uint32_t.
typedef std::function<void (uint32_t)> rank_change_callback;
```