work around a GCC bug

g++ rejects anonymous struct instances as arguments to functions
templated to accept anything Callable for some reason.