The hint parameter of allocate has been removed in C++20

This commit is contained in:
Peter Dimov
2025-10-24 18:04:26 +03:00
parent 9723621128
commit 85c2a6ea74

View File

@@ -52,7 +52,7 @@ public:
void * operator new(std::size_t)
{
return std::allocator<X>().allocate(1, static_cast<X*>(0));
return std::allocator<X>().allocate(1);
}
void operator delete(void * p)