The OpenD Programming Language

SList.insert

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 insert = insertFront

Meta