25 Mar
2007
25 Mar
'07
3:37 p.m.
On 3/24/07, John Maddock
You are using std::set incorrectly: you can't just copy stuff into it like that, we can't even use std::back_inserter here because std::set doesn't have a push_back member :-(
Well you could use std::inserter, but whether that makes things easier or just complicates an otherwise simple loop is another matter... --Michael Fawcett