bool compare(Range1 const& x, Range2 const& y) { collide_list a(x.begin(), x.end()); collide_list b(y.begin(), y.end()); a.sort(); b.sort(); return a == b; }
inline void append( Range1& destination, Range2& source ) { destination.insert( destination.end(), source.begin(), source.end() ); }