| 575 | |
| 576 | template <class T, size_t N, class AP> |
| 577 | JS_ALWAYS_INLINE |
| 578 | Vector<T,N,AP>::~Vector() |
| 579 | { |
| 580 | REENTRANCY_GUARD_ET_AL; |
| 581 | Impl::destroy(beginNoCheck(), endNoCheck()); |
| 582 | if (!usingInlineStorage()) |
| 583 | this->free_(beginNoCheck()); |
| 584 | } |
| 585 | |
| 586 | /* |
| 587 | * This function will create a new heap buffer with capacity newCap, |