VecPushFrontArrL
- Macro
- August 22, 2025
Table of Contents
VecPushFrontArrL
VecPushFrontArrL
Description
Push a complete array into this vector front, with L-value semantics.
Note
Ownership trasfer takes place if vector is not creating it’s own copy of items.
Parameters
Name | Direction | Description |
---|---|---|
v | in,out | Vector to insert array items into. |
arr | in | Array to be inserted. |
count | in | Number (non-zero) of items in array. |
Success
v
Failure
Does not return on failure
Usage example (Cross-references)
- In
Insert.h:443
:
/// FAILURE : Does not return on failure
///
#define VecPushFrontArr(v, arr, count) VecPushFrontArrL((v), (arr), (count))
///
- In
Vec.Insert.c:376
:
// L-value array operations
VecPushFrontArrL(&vec, arr, 3);
// Check that the elements were added