mirror of
https://github.com/nlohmann/json.git
synced 2024-11-28 17:39:02 +08:00
🏁 trying to use constructors from std::allocator #1536
This commit is contained in:
parent
1126c9ca74
commit
baaa2a4d0f
@ -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 New Issue
Block a user