I am porting a program from VS to Xcode and I ran into a problem. Xcode can't find the function class. I have included <functional> (I think where it is in VS) and from the documentation it should be part of the tr1 update of the standard library (std::tr1::function). I'm new to Xcode and C++0x updates. Any suggestions on how to get this to work?