🏁 trying to use constructors from std::allocator #1536

pull/1551/head
Niels Lohmann 2019-03-21 14:09:29 +01:00
parent 1126c9ca74
commit baaa2a4d0f
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{