3 ms·I would use std::function and lambdas.by notatcomputer68 8y agoI would use std::function and lambdas.