18 lines
325 B
C++
18 lines
325 B
C++
#ifndef WRAP_VECTOR_HPP
|
|
#define WRAP_VECTOR_HPP
|
|
|
|
#include "two-mallocs.hpp"
|
|
#include <vector>
|
|
|
|
namespace eng {
|
|
template<class T>
|
|
using vector = std::vector<T, EngAllocator<T>>;
|
|
} // namespace eng
|
|
|
|
namespace drv {
|
|
template<class T>
|
|
using vector = std::vector<T, DrvAllocator<T>>;
|
|
} // namespace drv
|
|
|
|
#endif // WRAP_VECTOR_HPP
|