AlignedBuffer

Growable array, points to a memory aligned location.

Constructors

this
this()

Creates an empty aligned buffer.

this
this(size_t initialSize)

Creates an aligned buffer with given size.

this
this(AlignedBuffer other)

Creates an aligned buffer by copy.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
T opIndexAssign(T x, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
pushBack
void pushBack(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
pushBack
void pushBack(AlignedBuffer other)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(size_t askedSize)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

ptr
T* ptr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Bugs

make this class disappear when std.allocator is out.

Meta