vendredi 3 juin 2016

std::this_thread unavailable in Visual Studio Community 2015

All i am trying to do is use std::this_thread::yield() in Visual Studio 2015 Community. I get two different compiler errors:

'this_thread': the symbol to the left of a '::' must be a type
'yield': is not a member of 'std'

It is also saying that

'this_thread': is not a member of 'std'

if i try using namespace std::this_thread

I am totally stumped, the autocomplete even shows these, and i am using the correct syntax.

Any help would be appreciated. Thanks!

Aucun commentaire:

Enregistrer un commentaire