#ifndef vector_hh_INCLUDED #define vector_hh_INCLUDED #include "memory.hh" #include "hash.hh" #include namespace Kakoune { template{})> using Vector = std::vector>; template size_t hash_value(const Vector& vector) { size_t hash = 0x1235678; for (auto&& elem : vector) hash = combine_hash(hash, hash_value(elem)); return hash; } } #endif // vector_hh_INCLUDED