Skip to content

std:collections/Set

Canonical occurrence: protos/lib/collections/Set.protos · Protos revision: e99b712ecf658a527b1fe82c8beba2c1286d8dc9.

Sets represented as ordinary Maps keyed by their members (ordinary hash plus == key equality).

This page lists the complete mechanically observable top-level slot inventory required by D067. Authored documentation, when present, is canonical D062 prose; mechanical presence alone does not create a stability or compatibility promise.

Adds element to set in place and answers set.

Answers a fresh Set containing elements.

Answers whether element is a member of set.

Answers a fresh Set of the members of left that are not in right.

Calls block(element) for each member of set and answers set.

Answers a fresh Set of the members of left that are also in right.

Answers whether left and right have no member in common.

Answers whether every member of left is a member of right.

Answers whether every member of right is a member of left.

Removes element from set in place and answers set.

Answers whether left and right have exactly the same members.

Answers the number of members of set.

Answers a fresh Set of the members of left or right.

Exact module source · Standard-library API · Standard library overview