Skip to content
VecPushFrontArrL

VecPushFrontArrL

VecPushFrontArrL

Description

Push a complete array into this vector front, with L-value semantics.

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)

Usage examples (Cross-references)
    
        // L-value array operations
        VecPushFrontArrL(&vec, arr, 3);
    
        // Check that the elements were added
    /// FAILURE : Does not return on failure
    ///
    #define VecPushFrontArr(v, arr, count) VecPushFrontArrL((v), (arr), (count))
    
    ///
Last updated on