The implementation uses bind_front_handler to reduce the resources consumed when instantiating templates during compilation.