DList.insert_first

insert item at list front

  1. alias insertFront = insert_first
  2. Node!T* insert_first(T v)
    struct DList(T, Allocator = Mallocator, bool GCRangesAllowed = true)
    Node!T*
    insert_first
    (
    T v
    )
    out { assert (_length > 0); assert (_head !is null && _tail !is null); }

Meta