Initializer (Default implementation)swift 6.1.2Cxx
init(arrayLiteral:)
init(arrayLiteral elements: Self.Element...) init(arrayLiteral elements: Self.Element...) import Cxxprotocol CxxSet<Element> : ExpressibleByArrayLiteralA C++ type that represents a set of values, which might be repeating.
associatedtype Elementinit(arrayLiteral elements: Self.ArrayLiteralElement...) Creates an instance initialized with the given elements.
init<S>(_ sequence: S) where S : Sequence, Self.Element == S.Element Creates a C++ set containing the elements of a Swift Sequence.
func contains(_ element: Self.Element) -> Bool Returns a Boolean value that indicates whether the given element exists in the set.