示例#1
0
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;
}
示例#2
0
文件: generic.hpp 项目: JamesWR/simc
inline void append( Range1& destination, Range2& source )
{ destination.insert( destination.end(), source.begin(), source.end() ); }