ByteAlignedAddress

Address as an unsigned integer.

Used as key, value or element instead of a pointer OpenHashMap to prevent triggering of gc_addRange and gc_removeRange.

TODO is holeValue suitably chosen?

@safe pure nothrow @nogc
struct ByteAlignedAddress (
uint byteAlignment_
) {
size_t _ptrValue;
}

Alias This

_ptrValue

Members

Functions

toHash
hash_t toHash()

Get hash of this, with extra fast computation for the small case.

Manifest constants

byteAlignment
enum byteAlignment;

< Alignment in bytes.

Static variables

holeValue
typeof(this) holeValue;

Hole/Deletion value. Prevent hole bitmap from being used.

nullValue
typeof(this) nullValue;

Null value.

See Also

Meta