boost:bind self-pointing pointer
I'm writing a test program about actionlib. Referencing the wiki document of SimpleActionServer. However, I makes a error because of this instruction.
Server server(n, "do_dishes", boost::bind(&execute, _1, &server), false);
The variable server is used before it's allocated as server. Is that possible? At least, my visual studio 2010 compiler doesn't understand that style of code. Please help me.