Skip to content
StrInsertFastL

StrInsertFastL

Description

Insert a single character at idx using fast (order-not-preserving) placement: the element previously at idx is moved to the new tail before the new character occupies idx. L-form: the source char lvalue is zeroed on success per the L-form invariant.

Success

Returns true; the new character occupies idx; the character that previously occupied idx is at the new tail.

Failure

Returns false on allocation failure. str unchanged.

Usage example (Cross-references)

Usage examples (Cross-references)
    /// TAGS: Str, Insert, Char, Fast, Unordered
    ///
    #define StrInsertFast(str, lval, idx) StrInsertFastL((str), (lval), (idx))
    
    ///
Last updated on