Instance Methodswift 6.0.3Cxx
filter(_:)
func filter(_ isIncluded: (Self.Key, Self.Value) throws -> Bool) rethrows -> Self
func filter(_ isIncluded: (Self.Key, Self.Value) throws -> Bool) rethrows -> Self
s3Cxx0A10DictionaryPAAE6filteryxSb3KeyQz_5ValueQztKXEKF
What are these?9BK8P
import Cxx
protocol CxxDictionary<Key, Value>
A C++ type that represents a dictionary.
associatedtype Key where Self.Key == Self.Element.First
associatedtype Value where Self.Value == Self.Element.Second
@frozen struct Bool
A value type whose instances are either true
or false
.
subscript(key: Self.Key) -> Self.Value? { get set }