///////////////////////////////////////////////////////////////////// ! Assign a range of values to this vector (resizes to length of range) */ /////////////////////////////////////////////////////////////////////
| 518 | */ |
| 519 | ////////////////////////////////////////////////////////////////////////// |
| 520 | PX_INLINE void assign(const T* first, const T* last) |
| 521 | { |
| 522 | resizeUninitialized(uint32_t(last - first)); |
| 523 | copy(begin(), end(), first); |
| 524 | } |
| 525 | |
| 526 | // We need one bit to mark arrays that have been deserialized from a user-provided memory block. |
| 527 | // For alignment & memory saving purpose we store that bit in the rarely used capacity member. |
no test coverage detected