What's the effect of using std::thread::scope
inside a std::thread::spawn
block (spawned code contains scoped thread) ?
In what sense? What kind of "effect" are you looking for, apart from spawning a new thread (which is its purpose)?
It will work. You can nest them as much as you want.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.