init(_:)
Creates a type-erased collection that wraps the given collection.
Declaration
init<C>(_ base: C) where Element == C.Element, C : CollectionParameters
- base:
The collection to wrap.
Creates a type-erased collection that wraps the given collection.
init<C>(_ base: C) where Element == C.Element, C : CollectionThe collection to wrap.