¡@

Home 

c++ Programming Glossary: some_fun

std::bind a bound function

http://stackoverflow.com/questions/10777421/stdbind-a-bound-function

foo template class T void bar T data std cout data n void some_fun const std function void int f f 12 int main foo x auto f std.. std bind foo bar int x std placeholders _1 auto w std bind some_fun f w The call to w produces one of those lovely gcc error outputs.. On the other hand w is just a callable object which calls some_fun f being f the callable object mentioned above which has the..