BucketInfo.create

Creates a bucket info for the currently empty bucket specified by bucket_index, sets the length to 1; increases the number of non-empty buckets by 1.

class BucketInfo
package
void
create
()
out { assert (this); assert (this.n_filled, "all buckets are empty after create"); debug(BucketInfo) this.print(" ", bucket_index); }

Parameters

bucket_index size_t

index of the bucket into which the first element has been put

In: The bucket is expected to be currently empty.

Meta