| 122 | template <class _Up> struct rebind {using other = short_alloc<_Up, N, alignment>;}; |
| 123 | |
| 124 | T* allocate(std::size_t n) |
| 125 | { |
| 126 | return reinterpret_cast<T*>(a_.template allocate<alignof(T)>(n*sizeof(T))); |
| 127 | } |
| 128 | void deallocate(T* p, std::size_t n) noexcept |
| 129 | { |
| 130 | a_.deallocate(reinterpret_cast<char*>(p), n*sizeof(T)); |
nothing calls this directly
no outgoing calls
no test coverage detected