Wrap all STL includes to support drv:: and eng::
This commit is contained in:
17
luprex/core/wrap/wrap-vector.hpp
Normal file
17
luprex/core/wrap/wrap-vector.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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, EngAllocator<T>>;
|
||||
} // namespace drv
|
||||
|
||||
#endif // WRAP_VECTOR_HPP
|
||||
Reference in New Issue
Block a user