Skip to content
VecPushFrontArrFast

VecPushFrontArrFast

Description

Prepend count elements from arr at the front of the vector using fast (order-not-preserving) placement, taking ownership of the source range when no deep-copy handler is configured. Default unsuffixed form aliasing to the L (ownership) variant. See VecPushFrontArrFastL for the full SUCCESS/FAILURE contract.

Usage example (Cross-references)

Usage examples (Cross-references)
                    }
    
                    VecPushFrontArrFast(vec, temp_strings, count);
    
                    // Clean up temp strings
                    }
    
                    VecPushFrontArrFast(vec, temp_strings, count);
                }
                break;
    #define VecMustPushFrontArrFast(v, arr, count)                                                                         \
        do {                                                                                                               \
            if (!VecPushFrontArrFast((v), (arr), (count))) {                                                               \
                LOG_FATAL("VecMustPushFrontArrFast failed");                                                               \
            }                                                                                                              \
Last updated on