Answers for "sfml thread multi argument function"

C++
0

sfml thread multi argument function

// with std::bind
void func(std::string, int, double)
{
}

sf::Thread thread(std::bind(&func, "hello", 24, 0.5));
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language