Jump to content

  • Log In with Google      Sign In   
  • Create Account

Not dead...



C++0x as per VS2010

Posted by phantom, 13 March 2010 · 131 views

So, I've come to a conclusion about C++0x; I do love the lambda stuff [grin]


float multiplier[] = { -1, 1};
int i = 0;
int j = 0;
std::for_each(dataPoints.begin(), dataPoints.end(), [&](PointAffinity dataPoint)
{
pData.m_driveValue = bands[dataPoint.side][j] * multiplier[sourceSelect] * 7.0f;
pData.position =...





Recent Entries

Recent Comments

PARTNERS