我想取一个VectorSP的最后一个元素,除了这么写
bool is_valid = filter_feature->getBool(filter_feature->size()-1)
有没有更高效的写法?
没有更好的方法