0

I am trying to debug a peers code and have encountered a constructor for a thread. What the heck is this doing? Is it safe? It's scary elegant code...

More Specific syntax is:

th = thread([=]()
{
    while(var=true){
        //do stuff
    }
});
Matthew Hammel
  • 104
  • 2
  • 8

0 Answers0