| 811 | template <class T, size_t N, class AP> |
| 812 | template <class U> |
| 813 | JS_ALWAYS_INLINE bool |
| 814 | Vector<T,N,AP>::append(U t) |
| 815 | { |
| 816 | REENTRANCY_GUARD_ET_AL; |
| 817 | if (mLength == mCapacity && !growStorageBy(1)) |
| 818 | return false; |
| 819 | |
| 820 | #ifdef DEBUG |
| 821 | if (mLength + 1 > mReserved) |
| 822 | mReserved = mLength + 1; |
| 823 | #endif |
| 824 | internalAppend(t); |
| 825 | return true; |
| 826 | } |
| 827 | |
| 828 | template <class T, size_t N, class AP> |
| 829 | template <class U> |
no test coverage detected