swift
3e1a6dce - [cxx-interop] Add `CxxConvertibleToCollection` protocol

Commit
2 years ago
[cxx-interop] Add `CxxConvertibleToCollection` protocol Since we don't automatically conform C++ non-random-access collections to `Swift.Sequence` anymore for performance reasons, we need an alternative way to access the elements of a C++ sequence from Swift. This allows explicitly converting a C++ sequence to a Swift Array/Set.
Author
Parents
Loading