swift
d85d2e9e - [cxx-interop] Synthesize conformances to `UnsafeCxxInputIterator`

Commit
3 years ago
[cxx-interop] Synthesize conformances to `UnsafeCxxInputIterator` This teaches ClangImporter to synthesize conformances of C++ iterator types to `UnsafeCxxInputIterator` protocol from the `Cxx` module. We consider a C++ type to be an iterator if it defines a subtype (usually a typedef or a using decl) called `iterator_category` that inherits from `std::input_iterator_tag`. rdar://96235368
Author
Committer
Parents
Loading