I had code already running on vs2008 and am trying to port it to vs2012. In this source code, I use the bind2nd function specified and using std :: bind2nd, and everything works fine. When I compile the same code with vs2012, I get an error that bind2nd is not a member of std. I checked msdn and it says that it is part of a "functional" library. When I look for it in my mailbox, I found out that it is not there, but in xfunctional, which is included in the functional, when rc_invoked is not defined. My first thought was that I defined rc_invoked, but I proved that it is not. So, following the inclusion chain, this bind2nd should be part of std, and my code should not fail, but it is. I'm running out of ideas, so any thought would be welcome.
Greetings
source
share