| 463 | |
| 464 | #if (__cplusplus >= 201703L) // C++17 |
| 465 | mi_decl_nodiscard T* allocate(size_type count) { return static_cast<T*>(mi_new_n(count, sizeof(T))); } |
| 466 | mi_decl_nodiscard T* allocate(size_type count, const void*) { return allocate(count); } |
| 467 | #else |
| 468 | mi_decl_nodiscard pointer allocate(size_type count, const void* = 0) { return static_cast<pointer>(mi_new_n(count, sizeof(value_type))); } |