| 408 | #endif |
| 409 | |
| 410 | pointer allocate(size_t n, const_pointer /* unused */= 0) |
| 411 | { |
| 412 | pointer res = static_cast<pointer>(malloc(n * sizeof(T))); |
| 413 | if (!res) |
| 414 | throw std::bad_alloc(); |
| 415 | return res; |
| 416 | } |
| 417 | |
| 418 | void deallocate(pointer p, size_t /* unused */) |
| 419 | { |
no outgoing calls
no test coverage detected