home/src/vector.hh

17 lines
278 B
C++
Raw Normal View History

#ifndef vector_hh_INCLUDED
#define vector_hh_INCLUDED
#include "memory.hh"
#include <vector>
namespace Kakoune
{
template<typename T, MemoryDomain domain = memory_domain(Meta::Type<T>{})>
using Vector = std::vector<T, Allocator<T, domain>>;
}
#endif // vector_hh_INCLUDED