qtrac.aaset

This module provides storage for a set of items of the same type.

The API offers add(), remove(), in (returning a bool for membership), clear, length, and iteration.

See the unittest block for examples.

Members

Structs

AAset
struct AAset(T)

A collection type that stores items of the same type. The item type must support toHash and ==

Meta

Authors

Mark Summerfield, mark@qtrac.eu

License

Apache 2.0 Copyright © 2020 Mark Summerfield. All rights reserved.