示例#1
0
void distance(tkernel<V<T, P>> & kernel, const V<T, P> & origin)
{
    const distance_comparator<T, P, V> comparator {origin};
    std::sort(kernel.begin(), kernel.end(), comparator);
}