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.