🏁 trying to use constructors from std::allocator #1536
This commit is contained in:
parent
1126c9ca74
commit
baaa2a4d0f
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ static bool next_deallocate_fails = false;
|
|||
template<class T>
|
||||
struct my_allocator : std::allocator<T>
|
||||
{
|
||||
using std::allocator<T>::allocator;
|
||||
|
||||
template<class... Args>
|
||||
void construct(T* p, Args&& ... args)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue