VecPushFrontArrL

Table of Contents

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

NameDirectionDescription
vin,outVector to insert array items into.
arrinArray to be inserted.
countinNumber (non-zero) of items in array.

Success

v

Failure

Does not return on failure

Usage example (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))
    
    ///

Share :