btl.list

Implementation of linked list List (similar to c++ std::list and std::forward_list).

Members

Aliases

DefaultAllocator
alias DefaultAllocator = Mallocator

Default allcoator for List.

Forward
alias Forward = btl.traits.common.Forward

Type used in forward constructors.

Templates

ForwardList
template ForwardList(_Type, _Allocator = DefaultAllocator, bool _supportGC = shouldAddGCRange!_Type)

Alias to List with parameter _bidirectional = true (single linked list)

List
template List(_Type, _Allocator = DefaultAllocator, bool _supportGC = shouldAddGCRange!_Type, bool _bidirectional = true)

List is a container that supports constant time insertion and removal of elements from anywhere in the container.

ListRange
template ListRange(Type, bool _bidirectional, bool _reverse = false)
Undocumented in source.
isList
template isList(T...)

True if T is a List or implicitly converts to one, otherwise false.

Meta

Authors

Adam Búš