Template Function lanelet::utils::strong

Function Documentation

template<typename WeakT>
auto lanelet::utils::strong(std::vector<WeakT> v)

transforms a vector of weak_ptrs to a vector of shared_ptrs

Expired elements are discarded.