T in std::vector<T> can be accessed through value_type:
T
std::vector<T>
value_type
template<typename C, typename T = C::value_type, std::invocable<T> Visitor> void template_ref_visit(C& c, Visitor& visit) { visit(c[0]); }