The OpenD Programming Language

SList.insertAnywhere

Inserts an item at the front of the list.

Complexity: O(1)

import containers.slist;
struct SList(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
alias insertAnywhere = insertFront

Meta