std function as the applier