SerializingMap

Specialized version of class Map that includes serialization capabilities using the MapExtension mixin

Everything else is identical to the class Map, that means you still need to implement your own hashing functionality.

Note: The serializer allows simple transition from using a map with a non-versioned key / value to a versioned one. The version of the key / value must be v0 and the layout must be the same, otherwise loading will fail.

Constructors

this
this(size_t n, float load_factor)

Constructor.

this
this(IAllocator allocator, size_t n, float load_factor)

Constructor.

Members

Mixins

__anonymous
mixin MapExtension!(K, V)

Mixin extensions for serialization

Parameters

V

type of the value

K

type of the key

Meta