The Metro sample "Simple3DGameXaml" (for C++) has a line I can't seem to comprehend. Here's a snippet from App.xaml.cpp:
if (m_updateState == UpdateEngineState::WaitingForResources)
{
// In the middle of a game so spin up the async task to load the level.
create_task([this]()
{http://www.google.com/search?q=create_task+xaml&hl=en&prmd=imvnsfd&source=lnms&tbm=vid&sa=X&ei=CLbfT6yGHcno2AWUmaT0CQ&ved=0CEcQ_AUoAw
return m_game->LoadLevelAsync();
}).then([this]()
In question is the URL (http://www.google...). This line is not commented out... it's just a "dangling url" as far as I can see. (If this is something new in
the last 5 years of C++, it's new to me.) Is it documentation, or is there more to it. I can't figure out what to call this "feature", and an hours attempt to find what this line is has been fruitless.
My goodness there's a lot to learn.
Jim Tomasko