Default callback function in a library

you can use a lambda with the same signature:

I think that I will pass on that suggestion for now, at least until I have got a callback implemented in my larger library.