template<class T> struct L2 { typedef bool is_kdtree_distance; typedef T ElementType; typedef typename Accumulator<T>::Type ResultType; template <typename Iterator1, typename Iterator2> ResultType ...