btl.vector

Implementation of dynamic array Vector (similar to c++ std::vector and folly::small_vector).

Modules

flat_map
module btl.vector.flat_map

Implementation of associative container that supports unique keys FlatMap (similar to c++ boost::flat_map).

storage
module btl.vector.storage
Undocumented in source.

Members

Aliases

DefaultAllocator
alias DefaultAllocator = Mallocator

Default allcoator for Vector.

Forward
alias Forward = btl.traits.common.Forward

Type used in forward constructors.

hasCopyConstructor_SP
alias hasCopyConstructor_SP = hasCopyConstructor
Undocumented in source.

Structs

Foo
struct Foo
Undocumented in source.

Templates

ElementReferenceTypeImpl
template ElementReferenceTypeImpl(T)
Undocumented in source.
FixedVector
template FixedVector(_Type, size_t N, bool _supportGC = shouldAddGCRange!_Type)

Alias to Vector with void allcoator

GetAllocatorType
template GetAllocatorType(Vec)
Undocumented in source.
GetElementReferenceType
template GetElementReferenceType(Vec)
Undocumented in source.
GetElementType
template GetElementType(Vec)
Undocumented in source.
SmallVector
template SmallVector(_Type, size_t N, _Allocator = DefaultAllocator, bool _supportGC = shouldAddGCRange!_Type)

Alias to Vector with with N > 0

Vector
template Vector(_Type, size_t N = 0, _Allocator = DefaultAllocator, bool _supportGC = shouldAddGCRange!_Type)

Vectors are sequence containers representing arrays that can change in size.

Vector
template Vector(_Type, _Allocator, bool _supportGC = shouldAddGCRange!_Type)

Alias to Vector with different order of template parameters

hasCopyConstructor
template hasCopyConstructor(From, To)
Undocumented in source.
isAssignable
template isAssignable(From, To)
Undocumented in source.
isConstructable
template isConstructable(From, To)
Undocumented in source.
isMoveAssignable
template isMoveAssignable(alias from, To)
Undocumented in source.
isMoveConstructable
template isMoveConstructable(alias from, To)
Undocumented in source.
isVector
template isVector(T...)

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

Variables

safeAllcoate
enum bool safeAllcoate(A);
Undocumented in source.

Meta

Authors

Adam Búš