std::function (C++) Introduced to me by Kajanan, where he used it with placeholders (C++). Resources https://stackoverflow.com/questions/20353210/what-is-the-purpose-of-stdfunction-and-how-do-i-use-it Related bind (C++)